gpio/gpiolib-of: Create of_mm_gpiochip_remove
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Wed, 17 Dec 2014 15:51:13 +0000 (16:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:17 +0000 (17:23 +0100)
commitd621e8bae5ac9c67de4de90c5cded12adc8ee1e1
tree5dc976ffdb54116e4e05916b47278b66d8ae3e36
parent1d6902d3a68e83061c979a57d7411e8ae172df67
gpio/gpiolib-of: Create of_mm_gpiochip_remove

Create counterpart of of_mm_gpiochip_add(). This way the modules that
can be removable do not duplicate the cleanup code.

Suggested-by: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c
include/linux/of_gpio.h