gpio: ts4800: 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:48 +0000 (20:35 +0530)
commit33ba54ee474cda1b55030ba451cf0b804338c742
treec4dea493b4e4d4b84e5cb4db555550f7283ff76b
parent0964ac703edf531f678805ae8b158f335869e865
gpio: ts4800: 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-ts4800.c