Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kay Sievers and committed by
Greg Kroah-Hartman
3e274bd0 e537b245

+1 -1
+1 -1
drivers/gpio/bt8xxgpio.c
··· 160 160 { 161 161 struct gpio_chip *c = &bg->gpio; 162 162 163 - c->label = bg->pdev->dev.bus_id; 163 + c->label = dev_name(&bg->pdev->dev); 164 164 c->owner = THIS_MODULE; 165 165 c->direction_input = bt8xxgpio_gpio_direction_input; 166 166 c->get = bt8xxgpio_gpio_get;