gpio: rdc321x: 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:41 +0000 (20:35 +0530)
commitcfae2c908ff6c7aba585f84919ece49ad8d8ba8c
treec19f466ed7961d998d6fe3937d40180da450f3b4
parentbc72f7f7b8ae9847d2a7bad610cdd300de72ab21
gpio: rdc321x: 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-rdc321x.c