diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-06 21:44:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 21:44:42 +0300 |
commit | 14ab309d33efda7b78bad1d331fd1963ed3bd906 (patch) | |
tree | a8a37c43836932c45c164cbbf2ea286e3237e65a | |
parent | 8f4bbd9f59a6ec0d96ae374ea2a46bfa90cc26e4 (diff) | |
download | linux-14ab309d33efda7b78bad1d331fd1963ed3bd906.tar.xz |
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>
-rw-r--r-- | drivers/gpio/gpiolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 82020abc329e..35e7aea4222c 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -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) |