gpio: tps6586x: 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)
commit79c676f808541b8ad174b0261596da8e1d9d26a3
tree848e22a3a9041e2c6f86ea3cf0693a44c06bcf57
parent43fad8322a9757b73402accd8247a9479d927149
gpio: tps6586x: 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-tps6586x.c