summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2022-12-29 17:00:44 +0100
committerWolfram Sang <wsa@kernel.org>2023-01-17 11:02:21 +0100
commitcddf70d0bce71c2ad69b7bef7a9f20d8104cbfd8 (patch)
tree7441ee5a1a0982b920f9268791695782f085ae10 /scripts/gdb/linux/utils.py
parent681eb1674697c7e730cd523f2a5c637b7796df0c (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