gpio: twl6040: 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:50 +0000 (20:35 +0530)
commitfc0292a2381b2ac8eed90eb74dfe656356004c95
tree2097451a3eb146104728b662eb93bd094aa9d66b
parent973eff01c524ac8d60f125263fccc28c39e384ed
gpio: twl6040: 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-twl6040.c