gpio: syscon: 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:44 +0000 (20:35 +0530)
commit94c683ab8d3f1201822f3ff18d62f96a7b26eed5
tree09b6b0d31f4a1d29d65c2ec2547ffa6676284dc2
parentc7c8a8fc1eb74cecdee5b7d91feaaa638194eb78
gpio: syscon: 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-syscon.c