gpio: sx150x: 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:43 +0000 (20:35 +0530)
commitc7c8a8fc1eb74cecdee5b7d91feaaa638194eb78
tree7e918deab6626392fad500171c662d81580a325c
parent1a20cb2d7da02d13888fb3bd8a5dc7b2a8be3181
gpio: sx150x: 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-sx150x.c