gpio: clean up gpiochip_remove
authorJohan Hovold <johan@kernel.org>
Mon, 4 May 2015 15:10:27 +0000 (17:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 May 2015 08:46:15 +0000 (10:46 +0200)
commitfab28b89a1c418382638d3837739faad9111fa8e
tree6fdc908f0b86bf2fe7f8a2e86a621250743c240d
parent8becdc18c3e1f855cae5af266f6a1f5ce5af24fb
gpio: clean up gpiochip_remove

Clean up gpiochip_remove somewhat and only output warning about removing
chip with GPIOs requested once.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c