Commit b8a3f52e authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij

gpio: xlp: Add missing .owner and .label settings for gpio_chip

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5b7d414a
...@@ -366,6 +366,8 @@ static int xlp_gpio_probe(struct platform_device *pdev) ...@@ -366,6 +366,8 @@ static int xlp_gpio_probe(struct platform_device *pdev)
gc = &priv->chip; gc = &priv->chip;
gc->owner = THIS_MODULE;
gc->label = dev_name(&pdev->dev);
gc->base = 0; gc->base = 0;
gc->dev = &pdev->dev; gc->dev = &pdev->dev;
gc->ngpio = ngpio; gc->ngpio = ngpio;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment