diff options
| author | Joshua Crofts <joshua.crofts1@gmail.com> | 2026-05-05 13:46:01 +0200 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 10:59:36 +0100 |
| commit | acea3560f387a749990567e151e6003ccc249e46 (patch) | |
| tree | 978a46a0df905972a26a23de617f15726b347141 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 833ca882b76425a7ec12cc8090a390959d0b190f (diff) | |
iio: magnetometer: ak8975: fix wrong errno on return
The driver currently returns -EINVAL on polling timeout instead of
-ETIMEDOUT.
Replace return code for -ETIMEDOUT and remove unnecessary error
message as -ETIMEDOUT is a standard POSIX error. Also replace
instances of -EINVAL in comments.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
