Commit 14ab309d authored by Kay Sievers's avatar Kay Sievers Committed by Greg Kroah-Hartman

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

Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8f4bbd9f
...@@ -1213,7 +1213,7 @@ static int gpiolib_show(struct seq_file *s, void *unused) ...@@ -1213,7 +1213,7 @@ static int gpiolib_show(struct seq_file *s, void *unused)
if (dev) if (dev)
seq_printf(s, ", %s/%s", seq_printf(s, ", %s/%s",
dev->bus ? dev->bus->name : "no-bus", dev->bus ? dev->bus->name : "no-bus",
dev->bus_id); dev_name(dev));
if (chip->label) if (chip->label)
seq_printf(s, ", %s", chip->label); seq_printf(s, ", %s", chip->label);
if (chip->can_sleep) if (chip->can_sleep)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment