Commit a3ee78ec authored by Charles Keepax's avatar Charles Keepax Committed by 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: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent df950da1
......@@ -140,8 +140,6 @@ static int arizona_gpio_probe(struct platform_device *pdev)
goto err;
}
platform_set_drvdata(pdev, arizona_gpio);
return ret;
err:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment