gpio: sch: 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)
commitc1411464d2ca969f19ee42bcf8d8cfdda357abee
tree9b3cc1507d5cdb112ac108b494562ac551ffd797
parentcfae2c908ff6c7aba585f84919ece49ad8d8ba8c
gpio: sch: 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-sch.c