gpio: wm8350: 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:52 +0000 (20:35 +0530)
commit61da4848a1ab6526ccdc0da4ed07635587dc478d
tree4af4c423dec0024fa4412dd6d921db1ee0bcdabf
parent55e3e1a75d63c7163542d90692b18dabcf8278dd
gpio: wm8350: 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>
Cc: patches@opensource.wolfsonmicro.com
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
drivers/gpio/gpio-wm831x.c