mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v9 0/5] iio: magnetometer: ak8975: driver cleanup
@ 2026-09-20 18:05 Joshua Crofts
  2026-09-20 18:05 ` [PATCH v9 1/5] iio: magnetometer: ak8975: switch to using managed resources Joshua Crofts
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Joshua Crofts @ 2026-09-20 18:05 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko
  Cc: linux-iio, linux-kernel, Joshua Crofts, Andy Shevchenko

This is a 4-month old series that I had in my working tree and
completely forgot about. It's a continuation of the ak8975 driver
cleanup that Andy and I worked on, all that was missing was to
implement Jonathan's powered_on bool idea. The rest of the patches
have Reviewed-by tags.

Very sorry for the long delay :(

Original cover letter contents:

This series is a continuation of the previous ak8975 driver cleanup
effort, as most of the patches were picked.

Changes include:
- using BIT() and GENMASK() macros
- moving to devm_* resource management
- adding a scan index enum
- moving from using wait loops to iopoll functions
- various code style changes

Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
---
Changes in v9:
- Add powered_on bool per Jonathan's review
- Move forgotten dev_err() call to use a local dev variable
- Link to v8: https://lore.kernel.org/all/20260518-magnetometer-fixes-post-pickup-v8-0-088d610108a0@gmail.com/

---
Andy Shevchenko (4):
      iio: magnetometer: ak8975: switch to using managed resources
      iio: magnetometer: ak8975: unify messages with help of dev_err_probe()
      iio: magnetometer: ak8975: use temporary variable for struct device
      iio: magnetometer: ak8975: make use of the macros from bits.h

Joshua Crofts (1):
      iio: magnetometer: ak8975: add scan mask index enum

 drivers/iio/magnetometer/ak8975.c | 213 +++++++++++++++++++-------------------
 1 file changed, 107 insertions(+), 106 deletions(-)
---
base-commit: 40288c9206c17eb66a603262e06a58d300d0f279
change-id: 20260919-ak8975-cleanup-206e303af804

Best regards,
-- 
Kind regards,
Joshua Crofts


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-20 18:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 18:05 [PATCH v9 0/5] iio: magnetometer: ak8975: driver cleanup Joshua Crofts
2026-09-20 18:05 ` [PATCH v9 1/5] iio: magnetometer: ak8975: switch to using managed resources Joshua Crofts
2026-09-20 18:05 ` [PATCH v9 2/5] iio: magnetometer: ak8975: unify messages with help of dev_err_probe() Joshua Crofts
2026-09-20 18:05 ` [PATCH v9 3/5] iio: magnetometer: ak8975: use temporary variable for struct device Joshua Crofts
2026-09-20 18:05 ` [PATCH v9 4/5] iio: magnetometer: ak8975: add scan mask index enum Joshua Crofts
2026-09-20 18:05 ` [PATCH v9 5/5] iio: magnetometer: ak8975: make use of the macros from bits.h Joshua Crofts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®