gpio: f7188x: 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:31 +0000 (20:35 +0530)
commit330f4e561705b539ac5bba37ab576864c334c5ee
tree356bd7e98e06c700a3460ecfd7847a3ddade3854
parent4cb220e275fd7f4f31fee4aaf3ab77f5f11e622c
gpio: f7188x: 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-f7188x.c