gpio: bcm-kona: 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:13 +0000 (20:35 +0530)
commit0b89312379e5742ccca4bec11a27fb9f5b630e52
treef00d13fa41312b5e8ef74b6d20c3f8bc8145fb85
parentdb303a9053c8a81717cb6497f4cf63b773b21ca8
gpio: bcm-kona: Use devm_gpiochip_add_data() for gpio registration

Use devm_gpiochip_add_data() for GPIO registration.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Ray Jui <rjui@broadcom.com>
Acked-by: Ray Jui <ray.jui@broadcom.com>
drivers/gpio/gpio-bcm-kona.c