Skip to content

Commit

Permalink
gpio: xlp: Add missing .owner and .label settings for gpio_chip
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Axel Lin authored and Linus Walleij committed May 12, 2015
1 parent 5b7d414 commit b8a3f52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpio/gpio-xlp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b8a3f52

Please sign in to comment.