mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
e537b2453c
commit
3e274bd02b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue