mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
dmi: struct device - replace bus_id with dev_name(), dev_set_name()
CC: Lennart Poettering <[email protected]> Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
c682b17060
commit
6ff4dd36d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue