summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-11-25 13:48:29 +0000
committerLinus Walleij <linus.walleij@linaro.org>2016-12-07 15:23:38 +0100
commita3ee78ec6a5d9a86267a09de9ff27d4e0a21acca (patch)
tree54bc24df5be1ac7068d18bcccb53abe8b305c891 /drivers/gpio
parentdf950da188f7209a640f6eb3afda171a5afdf71f (diff)
downloadlinux-a3ee78ec6a5d9a86267a09de9ff27d4e0a21acca.tar.bz2
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')
-rw-r--r--drivers/gpio/gpio-arizona.c2
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: