aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-01-06 13:44:42 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:44:42 -0500
commit14ab309d33efda7b78bad1d331fd1963ed3bd906 (patch)
treea8a37c43836932c45c164cbbf2ea286e3237e65a /drivers/gpio/gpiolib.c
parent8f4bbd9f59a6ec0d96ae374ea2a46bfa90cc26e4 (diff)
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 82020abc329..35e7aea4222 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)
1213 if (dev) 1213 if (dev)
1214 seq_printf(s, ", %s/%s", 1214 seq_printf(s, ", %s/%s",
1215 dev->bus ? dev->bus->name : "no-bus", 1215 dev->bus ? dev->bus->name : "no-bus",
1216 dev->bus_id); 1216 dev_name(dev));
1217 if (chip->label) 1217 if (chip->label)
1218 seq_printf(s, ", %s", chip->label); 1218 seq_printf(s, ", %s", chip->label);
1219 if (chip->can_sleep) 1219 if (chip->can_sleep)