gpio: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
8f4bbd9f59
commit
14ab309d33
|
@ -1213,7 +1213,7 @@ static int gpiolib_show(struct seq_file *s, void *unused)
|
|||
if (dev)
|
||||
seq_printf(s, ", %s/%s",
|
||||
dev->bus ? dev->bus->name : "no-bus",
|
||||
dev->bus_id);
|
||||
dev_name(dev));
|
||||
if (chip->label)
|
||||
seq_printf(s, ", %s", chip->label);
|
||||
if (chip->can_sleep)
|
||||
|
|
Loading…
Reference in New Issue