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>
This commit is contained in:
Axel Lin 2015-05-07 15:34:37 +08:00 committed by Linus Walleij
parent 5b7d414ad0
commit b8a3f52e98

View File

@ -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;