summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-09-08 12:23:15 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-09-10 09:55:38 +0300
commitca620f2de153d690d6d6f50f32b8a14dd46107f4 (patch)
treefc743ff0ca980439c8c28262cec96c56eef26be9 /drivers/gpio/gpiolib.h
parent4e6b823867e2b8afc2b33740ba930e50b1f92421 (diff)
downloadlinux-ca620f2de153d690d6d6f50f32b8a14dd46107f4.tar.xz
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 'drivers/gpio/gpiolib.h')
0 files changed, 0 insertions, 0 deletions