]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
gpio: unmap gpio irqs properly
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Mar 2014 19:42:01 +0000 (20:42 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Mar 2014 19:42:01 +0000 (20:42 +0100)
commitc3626fdea044cc97bfc035ebb048f7619acb6736
tree4616758a56f3b3cef5303e511d2087d2e5eadfec
parent2ddf6cd67cc561e40454d60126a8a7cb32f3328f
gpio: unmap gpio irqs properly

When using the irqchip helper inside the gpiolib, make sure
the IRQs are unmapped/disposed before the irqdomain is removed
as part of removing the gpiochip.

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