gpio: tc3589x: 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:45 +0000 (20:35 +0530)
commitf3378b6a26533a891c36e38f4581bf53abd538e0
tree76858ceacb6d2fb76a94018e4406afc4efe030e5
parentad7b550ad7c2499dc5ed575a81830463fee51631
gpio: tc3589x: 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-tc3589x.c