diff options
| author | 2026-06-10 13:58:31 +0000 | |
|---|---|---|
| committer | 2026-06-29 19:05:36 +0100 | |
| commit | 2766d92b05047928bc77b17d021fb0173bf457ab (patch) | |
| tree | 5ce9d9ccd18ffb024774e2dca8520cafa8978b3c /scripts/Makefile.thinlto | |
| parent | iio: magnetometer: bmc150: sort includes (diff) | |
iio: magnetometer: bmc150: use FIELD_PREP and FIELD_GET helpers
Replace open-coded bitfield operations with FIELD_PREP() and
FIELD_GET() helpers where appropriate.
Also simplify bmc150_magn_set_odr() by returning directly from
the matching table entry.
Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
