summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xlp.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-05-07 09:34:37 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-05-12 13:23:24 +0200
commitb8a3f52e9824841fb1a79de649fc3487f734bc9f (patch)
treec1053cf138b5bd68efde69e8e698e56c66b417fd /drivers/gpio/gpio-xlp.c
parentdt-bindings: add brcmstb-gpio GPIO binding (diff)
downloadlinux-b8a3f52e9824841fb1a79de649fc3487f734bc9f.tar.xz
linux-b8a3f52e9824841fb1a79de649fc3487f734bc9f.zip
gpio: xlp: Add missing .owner and .label settings for gpio_chip
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-xlp.c')
-rw-r--r--drivers/gpio/gpio-xlp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c
index 8532697768f6..9bdab7203d65 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;