]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: wm8350: Use devm_gpiochip_add_data() for gpio registration
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 22 Feb 2016 12:13:28 +0000 (17:43 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Tue, 23 Feb 2016 15:05:52 +0000 (20:35 +0530)
commit4a4925cf2bef99f2e6fff04b0f135dd400c119ac
tree74b77fbba888c2dc26b4245eeb8cad3dc7e3a687
parent61da4848a1ab6526ccdc0da4ed07635587dc478d
gpio: wm8350: Use devm_gpiochip_add_data() for gpio registration

Use devm_gpiochip_add_data() for GPIO registration and remove the
need of driver callback .remove.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: patches@opensource.wolfsonmicro.com
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
drivers/gpio/gpio-wm8350.c