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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user