+21
−24
Loading
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>