summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-arizona.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-11-25 16:48:29 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-12-07 17:23:38 +0300
commita3ee78ec6a5d9a86267a09de9ff27d4e0a21acca (patch)
tree54bc24df5be1ac7068d18bcccb53abe8b305c891 /drivers/gpio/gpio-arizona.c
parentdf950da188f7209a640f6eb3afda171a5afdf71f (diff)
downloadlinux-a3ee78ec6a5d9a86267a09de9ff27d4e0a21acca.tar.xz
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.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: