gpio: lp3943: 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:34 +0000 (20:35 +0530)
commit4ca75bfe2f79d2447852db6069fda0ac2d8490dd
tree8a1c53f71e5273d56ca41dd9723c819af17c79f7
parent7b697b3a016819751b6597cf02ac3b1916933bb2
gpio: lp3943: 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-lp3943.c