Skip to content
Commit ca620f2d authored by Hans Verkuil's avatar Hans Verkuil Committed by Linus Walleij
Browse files

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: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4e6b8238
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment