gpio: palmas: 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:40 +0000 (20:35 +0530)
commit297bf067eca3cefc944493a517f593bf67dd1e52
treed23b5bd61d5ef8c68d1727fc0ea6751b5f73c4d6
parent3aebfc9bd81a4a8d23e494732d8e88ae174de2cd
gpio: palmas: 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>
drivers/gpio/gpio-palmas.c