aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-03-24 16:38:23 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-24 16:38:23 -0700
commit3e274bd02b04064632492a86fe99d3b613c74d84 (patch)
treec2c506dd6fa70f4ccd153cef76ed6650df0ed6a1
parente537b2453ccf8884513201d6afcb62ca0763ecf0 (diff)
downloadmrst-s0i3-test-3e274bd02b04064632492a86fe99d3b613c74d84.tar.gz
mrst-s0i3-test-3e274bd02b04064632492a86fe99d3b613c74d84.tar.xz
mrst-s0i3-test-3e274bd02b04064632492a86fe99d3b613c74d84.zip
gpio: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: Michael Buesch <mb@bu3sch.de> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
-rw-r--r--drivers/gpio/bt8xxgpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/bt8xxgpio.c b/drivers/gpio/bt8xxgpio.c
index 7a1168249dd..984b587f0f9 100644
--- a/drivers/gpio/bt8xxgpio.c
+++ b/drivers/gpio/bt8xxgpio.c
@@ -160,7 +160,7 @@ static void bt8xxgpio_gpio_setup(struct bt8xxgpio *bg)
{
struct gpio_chip *c = &bg->gpio;
- c->label = bg->pdev->dev.bus_id;
+ c->label = dev_name(&bg->pdev->dev);
c->owner = THIS_MODULE;
c->direction_input = bt8xxgpio_gpio_direction_input;
c->get = bt8xxgpio_gpio_get;