commit | 4e6b823867e2b8afc2b33740ba930e50b1f92421 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Sat Sep 08 11:23:14 2018 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Sep 10 08:54:57 2018 +0200 |
tree | 777adeba299de592e1d34355fa362a206fb164da | |
parent | f6d9af4770995d1f58be57139bce7974868231e8 [diff] |
gpiolib: export gpiochip_irq_reqres/relres() GPIO drivers that do not use GPIOLIB_IRQCHIP can hook these into the irq_request_resource and irq_release_resource callbacks of the irq_chip so they correctly 'get' the module and lock the gpio line for IRQ use. This will simplify driver code. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>