Skip to content

Commit

Permalink
dmi: struct device - replace bus_id with dev_name(), dev_set_name()
Browse files Browse the repository at this point in the history
CC: Lennart Poettering <[email protected]>
Signed-off-by: Kay Sievers <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
kaysievers authored and gregkh committed Jan 6, 2009
1 parent c682b17 commit 6ff4dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/dmi-id.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6ff4dd3

Please sign in to comment.