diff options
| author | Vasileios Amoiridis <vassilisamir@gmail.com> | 2024-05-08 18:52:01 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-05-27 09:48:57 +0100 |
| commit | 3b3b0cf4fdd5a6dd46a6a5f4fa44528ead63a044 (patch) | |
| tree | 4db7a454d45c9c2a7503a24eba6e2b6d160d9775 /tools/lib/python | |
| 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 <vassilisamir@gmail.com>
Link: https://lore.kernel.org/r/20240508165207.145554-4-vassilisamir@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
