diff options
| author | Vasileios Amoiridis <[email protected]> | 2024-05-08 18:52:01 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-05-27 09:48:57 +0100 |
| commit | 3b3b0cf4fdd5a6dd46a6a5f4fa44528ead63a044 (patch) | |
| tree | 4db7a454d45c9c2a7503a24eba6e2b6d160d9775 /tools/perf/scripts/python/netdev-times.py | |
| parent | 6047c11e4ae260f3cb5c6d5be0d8c30a467be081 (diff) | |
iio: pressure: bmp280: Make error checks consistent
The form 'if (ret)' is used in this driver in order to check
for returned error values. There are also some places that
'if (ret < 0)' is used but for no specific reason. Change
them to 'if (ret)' to make the driver more consistent.
Signed-off-by: Vasileios Amoiridis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions