gpio: octeon: 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:38 +0000 (20:35 +0530)
commit1533d4fd33775f789cb3c3d282aa242006466825
tree473636100664b255440fe46cb33725854a567465
parentffc566303eab28e38175d4be5f62dd55fc1c6d72
gpio: octeon: 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-octeon.c