gpio: sta2x11: 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:42 +0000 (20:35 +0530)
commit5fa734ccf06949182ae1835bcf926fdde51def22
treeb96bb9994277727711517bbb78e53a3a0da05c85
parent3d297bb030636af4d6e70699d4b2f4d27fea94fc
gpio: sta2x11: Use devm_gpiochip_add_data() for gpio registration

Use devm_gpiochip_add_data() for GPIO registration.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/gpio/gpio-sta2x11.c