pinctrl: xway: use devm_gpiochip_add_data()
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 23 May 2016 09:00:37 +0000 (11:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Jun 2016 07:37:21 +0000 (09:37 +0200)
commit86ede3d41b56f98fb5923a127d08857309b35524
tree996b41bf070c8a9c54031cb927ef00dec01d8709
parent8c7a92dad1621f38d1ff4fe9eaac898d6f33a0a3
pinctrl: xway: use devm_gpiochip_add_data()

Avoid a gpiochip_free() and use standard functions.

Cc: John Crispin <blogic@openwrt.org>
Cc: Pramod Gurav <pramod.gurav@smartplayin.com>
Cc: Martin Schiller <mschiller@tdt.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-xway.c