gpio: clps711x: 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:27 +0000 (20:35 +0530)
commitda9d67001697fc20beb8235af4c67a6bbabf21cc
tree396d4e2e0bc6587774b2c88af09dc0aaaa272e8f
parent0b89312379e5742ccca4bec11a27fb9f5b630e52
gpio: clps711x: 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-clps711x.c