gpio: kempld: 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)
commit7b697b3a016819751b6597cf02ac3b1916933bb2
tree30ebe11e5a9aea28224dee7757a9e8b209c45dfd
parentabeb3f40295f5631053b73c1e5c03c00b8890e57
gpio: kempld: 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-kempld.c