]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: viperboard: 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)
commit45338c3aa1e3439f9da35ac7126f29ea2d33cca8
treec52ef331e6cae3000bdd8889ab3010bb47b81d4f
parent5d61a9e0acf302e572584f4314943de2df1a5845
gpio: viperboard: 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-viperboard.c