diff options
| author | Thomas Haemmerle <[email protected]> | 2024-04-15 12:50:28 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-04-20 14:53:02 +0100 |
| commit | b8189beb2c87cb7aae114734baf19d2bd33342ce (patch) | |
| tree | 293e1e6f802f0d47d482c5b124e3f6849334dbba /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9dd6b32e76ff714308964cd9ec91466a343dcb8b (diff) | |
iio: pressure: dps310: introduce consistent error handling
Align error handling with `dps310_calculate_temp`, where it's not
possible to differentiate between errors and valid calculations by
checking if the returned value is negative.
Signed-off-by: Thomas Haemmerle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions