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:
3d9efaa
)
greybus: gpio: tie into gb core properly
author
Greg Kroah-Hartman
<greg@kroah.com>
Sat, 30 Aug 2014 23:51:21 +0000
(16:51 -0700)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Sat, 30 Aug 2014 23:51:21 +0000
(16:51 -0700)
drivers/staging/greybus/gpio-gb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/gpio-gb.c
b/drivers/staging/greybus/gpio-gb.c
index 30b15ed32e1278198660ca1232cdcfdc87180bcf..7b8b85f6f9e5f124b3c1063f72f5adcb0c07f102 100644
(file)
--- a/
drivers/staging/greybus/gpio-gb.c
+++ b/
drivers/staging/greybus/gpio-gb.c
@@
-77,7
+77,7
@@
int gb_gpio_probe(struct greybus_device *gdev,
gpio->ngpio = 42; // FIXME!!!
gpio->can_sleep = false; // FIXME!!!
- g
reybus_set_drvdata(gdev, gb_gpio)
;
+ g
dev->gb_gpio_dev= gb_gpio
;
retval = gpiochip_add(gpio);
if (retval) {
@@
-92,7
+92,7
@@
void gb_gpio_disconnect(struct greybus_device *gdev)
{
struct gb_gpio_device *gb_gpio_dev;
- gb_gpio_dev = g
reybus_get_drvdata(gdev)
;
+ gb_gpio_dev = g
dev->gb_gpio_dev
;
gpiochip_remove(&gb_gpio_dev->chip);
}