From: Kay Sievers Date: Tue, 6 Jan 2009 18:44:42 +0000 (-0800) Subject: gpio: struct device - replace bus_id with dev_name(), dev_set_name() X-Git-Tag: v2.6.29-rc1~229^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=14ab309d33efda7b78bad1d331fd1963ed3bd906;p=linux-2.6-omap-h63xx.git gpio: struct device - replace bus_id with dev_name(), dev_set_name() Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- 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) 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)