diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2022-12-29 17:00:44 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-01-17 11:02:21 +0100 |
commit | cddf70d0bce71c2ad69b7bef7a9f20d8104cbfd8 (patch) | |
tree | 7441ee5a1a0982b920f9268791695782f085ae10 /scripts/gdb/linux/utils.py | |
parent | 681eb1674697c7e730cd523f2a5c637b7796df0c (diff) |
i2c: dev: fix notifier return values
We have a set of return values that notifier callbacks can return. They
should not return 0, error codes or anything other than those predefined
values. Make the i2c character device's callback return NOTIFY_DONE or
NOTIFY_OK depending on the situation.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions