]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: imu: smi330: Convert to common field_{get,prep}() helpers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 15 Jan 2026 14:24:16 +0000 (15:24 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 16 Jan 2026 19:44:57 +0000 (19:44 +0000)
commit188c33824098ced363676b4e63f062b7a747ed81
tree954d5fe63625c3ea0896c7a4d41a5cb3b172f199
parentf65de31fb6aba70133a0cb57bba6f84b5fb4d695
iio: imu: smi330: Convert to common field_{get,prep}() helpers

Drop the driver-specific smi330_field_get() and smi330_field_prep()
macros, in favor of the globally available variants from
<linux/bitfield.h>.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/smi330/smi330_core.c