diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-21 16:18:27 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-08-22 09:37:46 +0200 |
commit | 9ce4ed5b4db13633f9934a4eac02c4cde04d5c63 (patch) | |
tree | cc1a729486d8ee9717cab5d01a35bd058c47ee57 /drivers/gpio/gpiolib-cdev.h | |
parent | 91043f559313fb04ac18253fcf18561a40c1b045 (diff) |
gpiolib: provide and use gpiod_line_state_notify()
Wrap the calls to blocking_notifier_call_chain() for the line state
notifier with a helper that allows us to use fewer lines of code and
simpler syntax.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpiolib-cdev.h')
0 files changed, 0 insertions, 0 deletions