diff options
| author | Andy Shevchenko <[email protected]> | 2020-10-21 14:25:36 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-10-26 15:43:15 +0100 |
| commit | 8bbff39c6c6c86405fe023ccf50eeb44feacbde9 (patch) | |
| tree | e0a0d6126a7cc0ec0b3d21fcbf8be09cf4bd5aff /scripts/gdb/linux/dmesg.py | |
| parent | 40941954f6ce1d8b92a37fc35a28f83632deda8b (diff) | |
gpiolib: Unify expectations about ->request() returned value
Half of the code in the GPIO library is written in an expectation that
any non-zero value returned from the ->request() callback is an error code,
while some code checks only for negative values.
Unify expectations about ->request() returned value to be non-zero
for an error and 0 for the success.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions