projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a4e98
)
gpio: tps65910: initialize of_node of gpio_chip
author
Laxman Dewangan
<ldewangan@nvidia.com>
Wed, 4 Jul 2012 15:06:45 +0000
(20:36 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 5 Jul 2012 13:44:22 +0000
(15:44 +0200)
Initialize the gpio chip's of_node to the device's node
to work with DT based system.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tps65910.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-tps65910.c
b/drivers/gpio/gpio-tps65910.c
index c1ad2884f2edb0b79f3894a9a16662e5776bda51..0749f96308691bfef28ca730fb425c950ab0f5d2 100644
(file)
--- a/
drivers/gpio/gpio-tps65910.c
+++ b/
drivers/gpio/gpio-tps65910.c
@@
-149,6
+149,7
@@
static int __devinit tps65910_gpio_probe(struct platform_device *pdev)
tps65910_gpio->gpio_chip.set = tps65910_gpio_set;
tps65910_gpio->gpio_chip.get = tps65910_gpio_get;
tps65910_gpio->gpio_chip.dev = &pdev->dev;
+ tps65910_gpio->gpio_chip.of_node = tps65910->dev->of_node;
if (pdata && pdata->gpio_base)
tps65910_gpio->gpio_chip.base = pdata->gpio_base;
else