gpio: rc5t583: 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)
commitbc72f7f7b8ae9847d2a7bad610cdd300de72ab21
tree0e7c220cd5e77267dcd4d1d33e1b5ff1976297ca
parent297bf067eca3cefc944493a517f593bf67dd1e52
gpio: rc5t583: 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-rc5t583.c