gpio: vx855: 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:51 +0000 (20:35 +0530)
commit55e3e1a75d63c7163542d90692b18dabcf8278dd
tree51158eeaff14057efc7cfa7a99fa39bad11a7f71
parent45338c3aa1e3439f9da35ac7126f29ea2d33cca8
gpio: vx855: 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-vx855.c