[PATCH 0/4] iio: magnetometer: ak8975: modernize and cleanup driver

Joshua Crofts
2026-04-20T11:09:08Z

This series modernizes and cleans up the ak8975 driver, migrating to
more modern kernel APIs and cleaning up legacy code.

Changes include:
- replacing usleep_range() with fsleep() for optimization
- migrating to iopoll macros for better device polling
- removing unused headers and adding new ones
- checkpatch.pl fixes

Joshua Crofts (4):
iio: magnetometer: ak8975: header cleanup
iio: magnetometer: ak8975: replace usleep_range() with fsleep()
iio: magnetometer: ak8975: change 'u8*' to 'u8 *' in cast
iio: magnetometer: ak8975: modernize polling loops with iopoll()
macros

drivers/iio/magnetometer/ak8975.c | 77 ++++++++++++++++---------------
1 file changed, 39 insertions(+), 38 deletions(-)

--
2.47.3