projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
firmware
/
dmi-id.c
diff --git
a/drivers/firmware/dmi-id.c
b/drivers/firmware/dmi-id.c
index e880d6c8d8965d88e9fcc9674006cf6b4206a215..5a76d056b9d0d0b1fe9770d9d272413d054afb8b 100644
(file)
--- a/
drivers/firmware/dmi-id.c
+++ b/
drivers/firmware/dmi-id.c
@@
-223,7
+223,7
@@
static int __init dmi_id_init(void)
}
dmi_dev->class = &dmi_class;
-
strcpy(dmi_dev->bus_id
, "id");
+
dev_set_name(dmi_dev
, "id");
dmi_dev->groups = sys_dmi_attribute_groups;
ret = device_register(dmi_dev);