projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e537b24
)
gpio: struct device - replace bus_id with dev_name(), dev_set_name()
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 24 Mar 2009 23:38:23 +0000
(16:38 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 24 Mar 2009 23:38:23 +0000
(16:38 -0700)
Cc: Michael Buesch <mb@bu3sch.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
drivers/gpio/bt8xxgpio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/bt8xxgpio.c
b/drivers/gpio/bt8xxgpio.c
index 7a1168249dd56b761b15e70c81745a750fe4507c..984b587f0f96eb796c6b8971d1e5564973a6ae05 100644
(file)
--- 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;