* [PATCH] gpio: tps65910: initialize of_node of gpio_chip
@ 2012-07-04 15:06 Laxman Dewangan
2012-07-05 13:31 ` Linus Walleij
0 siblings, 1 reply; 3+ messages in thread
From: Laxman Dewangan @ 2012-07-04 15:06 UTC (permalink / raw)
To: grant.likely, linus.walleij; +Cc: linux-kernel, swarren, Laxman Dewangan
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>
---
drivers/gpio/gpio-tps65910.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c
index c1ad288..0749f96 100644
--- 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
--
1.7.1.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: tps65910: initialize of_node of gpio_chip
2012-07-05 13:31 ` Linus Walleij
@ 2012-07-05 13:30 ` Laxman Dewangan
0 siblings, 0 replies; 3+ messages in thread
From: Laxman Dewangan @ 2012-07-05 13:30 UTC (permalink / raw)
To: Linus Walleij; +Cc: grant.likely, linus.walleij, linux-kernel, Stephen Warren
On Thursday 05 July 2012 07:01 PM, Linus Walleij wrote:
> On Wed, Jul 4, 2012 at 5:06 PM, Laxman Dewangan<ldewangan@nvidia.com> wrote:
>
>> 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>
> Applied.
>
> I will not send this to the -rc:s unless you tell me it's urgent...
> I couldn't quite tell if it was.
Having on next rc is good.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: tps65910: initialize of_node of gpio_chip
2012-07-04 15:06 [PATCH] gpio: tps65910: initialize of_node of gpio_chip Laxman Dewangan
@ 2012-07-05 13:31 ` Linus Walleij
2012-07-05 13:30 ` Laxman Dewangan
0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2012-07-05 13:31 UTC (permalink / raw)
To: Laxman Dewangan; +Cc: grant.likely, linus.walleij, linux-kernel, swarren
On Wed, Jul 4, 2012 at 5:06 PM, Laxman Dewangan <ldewangan@nvidia.com> wrote:
> 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>
Applied.
I will not send this to the -rc:s unless you tell me it's urgent...
I couldn't quite tell if it was.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-05 13:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-04 15:06 [PATCH] gpio: tps65910: initialize of_node of gpio_chip Laxman Dewangan
2012-07-05 13:31 ` Linus Walleij
2012-07-05 13:30 ` Laxman Dewangan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.