提交 b8a3f52e 编写于 作者: A Axel Lin 提交者: Linus Walleij

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

Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 5b7d414a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册