gpio: cs5535: 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:28 +0000 (20:35 +0530)
commit85bd84f5360908b9093ab06750e5b1006222da31
tree2189bb6675816b965ba5448a9c401bd406e32af9
parent828e47e45303d046d17e3f7cb44720cfa3e99f10
gpio: cs5535: 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-cs5535.c