diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2018-09-08 12:23:15 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-10 09:55:38 +0300 |
commit | ca620f2de153d690d6d6f50f32b8a14dd46107f4 (patch) | |
tree | fc743ff0ca980439c8c28262cec96c56eef26be9 /drivers/gpio/gpiolib.h | |
parent | 4e6b823867e2b8afc2b33740ba930e50b1f92421 (diff) | |
download | linux-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