aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-09-08 11:23:15 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-09-10 08:55:38 +0200
commitca620f2de153d690d6d6f50f32b8a14dd46107f4 (patch)
treefc743ff0ca980439c8c28262cec96c56eef26be9 /include/linux/gpio
parentgpiolib: export gpiochip_irq_reqres/relres() (diff)
downloadlinux-dev-ca620f2de153d690d6d6f50f32b8a14dd46107f4.tar.xz
linux-dev-ca620f2de153d690d6d6f50f32b8a14dd46107f4.zip
gliolib: set hooks in gpiochip_set_irq_hooks()
Centralize setting the irq_request/release_resources callbacks in one function since we'll be adding more callbacks to that. Also fix the removal of the callback overrides: this should only be done if we actually installed our own callback there. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/gpio')
0 files changed, 0 insertions, 0 deletions