gpio: xgene: 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:54 +0000 (20:35 +0530)
commit9d113c696f4081bf95dd7553d6369998a666b0fa
tree19861083120a4e40e9de2c3f321f530e44638f1a
parent29862059a5be4b6f7620636669d0e51bb8778de3
gpio: xgene: 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-xgene.c