diff options
author | 2016-11-25 13:48:29 +0000 | |
---|---|---|
committer | 2016-12-07 15:23:38 +0100 | |
commit | a3ee78ec6a5d9a86267a09de9ff27d4e0a21acca (patch) | |
tree | 54bc24df5be1ac7068d18bcccb53abe8b305c891 /drivers/gpio/gpio-arizona.c | |
parent | gpio: vf610: use builtin_platform_driver (diff) | |
download | wireguard-linux-a3ee78ec6a5d9a86267a09de9ff27d4e0a21acca.tar.xz wireguard-linux-a3ee78ec6a5d9a86267a09de9ff27d4e0a21acca.zip |
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: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-arizona.c')
-rw-r--r-- | drivers/gpio/gpio-arizona.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c index 482462889c8f..ed41537ec831 100644 --- a/drivers/gpio/gpio-arizona.c +++ b/drivers/gpio/gpio-arizona.c @@ -140,8 +140,6 @@ static int arizona_gpio_probe(struct platform_device *pdev) goto err; } - platform_set_drvdata(pdev, arizona_gpio); - return ret; err: |