]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: arizona: 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:04:29 +0000 (20:34 +0530)
commitdb303a9053c8a81717cb6497f4cf63b773b21ca8
treeba73840bd75d2cda8c83c9dd244bd90ee4f2add8
parent7c263fe025ab15553a40075d957f0de66628865e
gpio: arizona: 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-arizona.c