gpiolib: cleanup chained handler and data
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 12 May 2015 17:12:23 +0000 (20:12 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 May 2015 11:02:36 +0000 (13:02 +0200)
commit25e4fe92a20bbffde87500615250f1d54bfb832f
treef879e7336fc3a2347689df9f18e1ac0a51e34a4e
parent845c877009cf014b971aab7f54613f9185a824b0
gpiolib: cleanup chained handler and data

Clean up chained handler and handler data if they were set by
gpiochip_set_chained_irqchip().

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/linux/gpio/driver.h