gpio: tps65910: 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:47 +0000 (20:35 +0530)
commitbf6e855a4e89e1baae4c55c8cafaeb3396bed804
treece71a571ef18c0f37b936a7cd8fda7172add6b1b
parent79c676f808541b8ad174b0261596da8e1d9d26a3
gpio: tps65910: 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-tps65910.c