Commit 3e274bd0 authored by Kay Sievers's avatar Kay Sievers Committed by Greg Kroah-Hartman

gpio: struct device - replace bus_id with dev_name(), dev_set_name()

Cc: Michael Buesch <mb@bu3sch.de>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
parent e537b245
...@@ -160,7 +160,7 @@ static void bt8xxgpio_gpio_setup(struct bt8xxgpio *bg) ...@@ -160,7 +160,7 @@ static void bt8xxgpio_gpio_setup(struct bt8xxgpio *bg)
{ {
struct gpio_chip *c = &bg->gpio; 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->owner = THIS_MODULE;
c->direction_input = bt8xxgpio_gpio_direction_input; c->direction_input = bt8xxgpio_gpio_direction_input;
c->get = bt8xxgpio_gpio_get; c->get = bt8xxgpio_gpio_get;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment