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:
5b7d414
)
gpio: xlp: Add missing .owner and .label settings for gpio_chip
author
Axel Lin
<axel.lin@ingics.com>
Thu, 7 May 2015 07:34:37 +0000
(15:34 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 12 May 2015 11:23:24 +0000
(13:23 +0200)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-xlp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-xlp.c
b/drivers/gpio/gpio-xlp.c
index 8532697768f6a731db6e2ea53faf42cbb4aa70e7..9bdab7203d6515b84717170bbf3edb1c8d9b70f9 100644
(file)
--- 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;