Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3ee78ec authored by Charles Keepax's avatar Charles Keepax Committed by Linus Walleij
Browse files

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -140,8 +140,6 @@ static int arizona_gpio_probe(struct platform_device *pdev)
		goto err;
	}

	platform_set_drvdata(pdev, arizona_gpio);

	return ret;

err: