summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-01-06 19:44:42 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 19:44:42 +0100
commit14ab309d33efda7b78bad1d331fd1963ed3bd906 (patch)
treea8a37c43836932c45c164cbbf2ea286e3237e65a /drivers/gpio/gpiolib.c
parentgpu: struct device - replace bus_id with dev_name(), dev_set_name() (diff)
downloadlinux-14ab309d33efda7b78bad1d331fd1963ed3bd906.tar.xz
linux-14ab309d33efda7b78bad1d331fd1963ed3bd906.zip
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>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r--drivers/gpio/gpiolib.c2
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)