提交 a3ee78ec 编写于 作者: C Charles Keepax 提交者: Linus Walleij

gpio: arizona: Remove pointless set of platform drvdata

We use the gpio chip private data in all the callbacks so remove this
redundant line of code.
Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 df950da1
...@@ -140,8 +140,6 @@ static int arizona_gpio_probe(struct platform_device *pdev) ...@@ -140,8 +140,6 @@ static int arizona_gpio_probe(struct platform_device *pdev)
goto err; goto err;
} }
platform_set_drvdata(pdev, arizona_gpio);
return ret; return ret;
err: err:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册