diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-05-05 13:46:05 +0200 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 10:59:36 +0100 |
| commit | 4cff98838322d488016c1b0edfa980fc336de630 (patch) | |
| tree | 365ff922918da27ecc03437a2218551dba28a36d /tools/perf/scripts/python/bin | |
| parent | c0b3561c8e4a1a7c03177fa21376c04f554b3a57 (diff) | |
iio: magnetometer: ak8975: avoid using temporary variable
Avoid using temporary variable in ak8975_read_axis(). With that being done,
the clamp_t() call becomes idiomatic in the driver and can be factored out
to a helper later on (and if needed).
Signed-off-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/bin')
0 files changed, 0 insertions, 0 deletions
