gpio: da9052: 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:29 +0000 (20:35 +0530)
commitb9cb1bb7ac6679f99eacb3231b7f6eff252632bc
tree1e2c9bedef1d7bdb45a83eda9e26e74cbca53368
parent85bd84f5360908b9093ab06750e5b1006222da31
gpio: da9052: 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-da9052.c