projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c682b17
)
dmi: struct device - replace bus_id with dev_name(), dev_set_name()
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 6 Jan 2009 18:44:42 +0000
(10:44 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 6 Jan 2009 18:44:42 +0000
(10:44 -0800)
CC: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/firmware/dmi-id.c
patch
|
blob
|
history
diff --git
a/drivers/firmware/dmi-id.c
b/drivers/firmware/dmi-id.c
index
e880d6c
..
5a76d05
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);