提交 6ff4dd36 编写于 作者: K Kay Sievers 提交者: Greg Kroah-Hartman

dmi: struct device - replace bus_id with dev_name(), dev_set_name()

CC: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c682b170
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册