gpio: gpio-mm-lantiq: Use of_mm_gpiochip_remove
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Sun, 18 Jan 2015 11:39:30 +0000 (12:39 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Jan 2015 10:18:51 +0000 (11:18 +0100)
commitda2382218c37fe7f8186c20b6b18aba477ec9b19
tree99990da5417591ac9c938685026219540882f152
parent68a99b187df3f4675f22a4a3f54c9d7645ab6409
gpio: gpio-mm-lantiq: Use of_mm_gpiochip_remove

Since d621e8bae5ac9c67 (Create of_mm_gpiochip_remove), there is a
counterpart for of_mm_gpiochip_add.

This patch implements the remove function of the driver making use of
it.

Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: John Crispin <blogic@openwrt.org>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mm-lantiq.c