commit | ca620f2de153d690d6d6f50f32b8a14dd46107f4 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Sat Sep 08 11:23:15 2018 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Sep 10 08:55:38 2018 +0200 |
tree | fc743ff0ca980439c8c28262cec96c56eef26be9 | |
parent | 4e6b823867e2b8afc2b33740ba930e50b1f92421 [diff] |
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>