gpio: da9055: 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)
commit7e9104ccb3c8be1bc4b9c62036465ac227c1c00d
treef9fd484c6b7d2594615b38be03003d675b1a22c7
parentb9cb1bb7ac6679f99eacb3231b7f6eff252632bc
gpio: da9055: 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>
Cc: Support Opensource <support.opensource@diasemi.com>
drivers/gpio/gpio-da9055.c