diff options
| author | Bartosz Golaszewski <[email protected]> | 2022-12-29 17:00:44 +0100 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2023-01-17 11:02:21 +0100 |
| commit | cddf70d0bce71c2ad69b7bef7a9f20d8104cbfd8 (patch) | |
| tree | 7441ee5a1a0982b920f9268791695782f085ae10 /scripts/gdb/linux/tasks.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 <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions