mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
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>
This commit is contained in:
parent
df950da188
commit
a3ee78ec6a
1 changed files with 0 additions and 2 deletions
|
|
@ -140,8 +140,6 @@ static int arizona_gpio_probe(struct platform_device *pdev)
|
|||
goto err;
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, arizona_gpio);
|
||||
|
||||
return ret;
|
||||
|
||||
err:
|
||||
|
|
|
|||
Loading…
Reference in a new issue