diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-06 10:44:42 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 10:44:42 -0800 |
commit | 6ff4dd36d6386f6fb3e1e4eac56f0d22d59a1d5c (patch) | |
tree | d1dbb3a55247803454378879c3b915474ffcf05e /drivers/firmware | |
parent | c682b17060788ace1abaeb080358ef7b62b1f541 (diff) | |
download | op-kernel-dev-6ff4dd36d6386f6fb3e1e4eac56f0d22d59a1d5c.zip op-kernel-dev-6ff4dd36d6386f6fb3e1e4eac56f0d22d59a1d5c.tar.gz |
dmi: struct device - replace bus_id with dev_name(), dev_set_name()
CC: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/dmi-id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/dmi-id.c b/drivers/firmware/dmi-id.c index e880d6c..5a76d05 100644 --- 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); |