1
0
Fork 0

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>
hifive-unleashed-5.1
Axel Lin 2015-05-07 15:34:37 +08:00 committed by Linus Walleij
parent 5b7d414ad0
commit b8a3f52e98
1 changed files with 2 additions and 0 deletions

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;