* [PATCH] gpio: xlp: Add missing .owner and .label settings for gpio_chip
@ 2015-05-07 7:34 Axel Lin
2015-05-12 11:23 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2015-05-07 7:34 UTC (permalink / raw)
To: Linus Walleij
Cc: Kamlakant Patel, Alexandre Courbot, linux-gpio@vger.kernel.org
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/gpio/gpio-xlp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c
index 8532697..9bdab72 100644
--- a/drivers/gpio/gpio-xlp.c
+++ b/drivers/gpio/gpio-xlp.c
@@ -366,6 +366,8 @@ static int xlp_gpio_probe(struct platform_device *pdev)
gc = &priv->chip;
+ gc->owner = THIS_MODULE;
+ gc->label = dev_name(&pdev->dev);
gc->base = 0;
gc->dev = &pdev->dev;
gc->ngpio = ngpio;
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: xlp: Add missing .owner and .label settings for gpio_chip
2015-05-07 7:34 [PATCH] gpio: xlp: Add missing .owner and .label settings for gpio_chip Axel Lin
@ 2015-05-12 11:23 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2015-05-12 11:23 UTC (permalink / raw)
To: Axel Lin; +Cc: Kamlakant Patel, Alexandre Courbot, linux-gpio@vger.kernel.org
On Thu, May 7, 2015 at 9:34 AM, Axel Lin <axel.lin@ingics.com> wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-12 11:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-07 7:34 [PATCH] gpio: xlp: Add missing .owner and .label settings for gpio_chip Axel Lin
2015-05-12 11:23 ` Linus Walleij
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.