Skip to content

iio: temperature: make headers conform to IWYU

Joshua Crofts linux-iio lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20260821-kernel-header-removal-d95efd197d78

Versions newest first

  1. v2 Latest posting 2/211 patches 3 repliesApplied
  2. v2 posting 1/211 patches 6 repliesSuperseded
  3. v114 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Add missing headers pointed out by Sashiko.
- Swap <asm/div64.h> for <linux/math64.h> (Jonathan, Andy).
- Squash small reordering patches with iwyu changes.
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/11iio: temperature: iqs620at-temp: make headers conform to IWYUdrivers/iio/temperature/iqs620at-temp.c+7 -20 replies
2/11iio: temperature: ltc2983: reorder headersdrivers/iio/temperature/ltc2983.c+3 -20 replies
3/11iio: temperature: ltc2983: make headers conform to IWYUdrivers/iio/temperature/ltc2983.c+12 -20 replies
4/11iio: temperature: mlx90632: make headers conform to IWYUdrivers/iio/temperature/mlx90632.c+7 -30 replies
5/11iio: temperature: mlx90635: make headers conform to IWYUdrivers/iio/temperature/mlx90635.c+7 -40 replies
6/11iio: temperature: tmp117: sort headers alphabeticallydrivers/iio/temperature/tmp117.c+3 -30 replies
7/11iio: temperature: tmp117: make headers conform to IWYUdrivers/iio/temperature/tmp117.c+2 -10 replies
8/11iio: temperature: tsys01: reorder headersdrivers/iio/temperature/tsys01.c+6 -40 replies
9/11iio: temperature: tsys01: make headers conform to IWYUdrivers/iio/temperature/tsys01.c+6 -30 replies
10/11iio: temperature: tsys02d: reorder headersdrivers/iio/temperature/tsys02d.c+3 -20 replies
11/11iio: temperature: tsys02d: make headers conform to IWYUdrivers/iio/temperature/tsys02d.c+7 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/11] iio: temperature: make headers conform to IWYU

This series removes any instances of kernel.h in the temperature/ subdirectory and cleans up the headers in order to improve readability and enforce IYWU instead of relying on transitive dependencies during the build process.

I had Gemini generate a summary (a bit more verbose) of changed headers under the --- in each IWYU patch to improve the review process.

This is part of an ongoing effort to remove kernel.h entirely from IIO.

---
Changes in v2:
- Add missing headers pointed out by Sashiko.
- Swap <asm/div64.h> for <linux/math64.h> (Jonathan, Andy).
- Squash small reordering patches with iwyu changes.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Joshua Crofts (11):
iio: temperature: iqs620at-temp: make headers conform to IWYU
iio: temperature: ltc2983: reorder headers
iio: temperature: ltc2983: make headers conform to IWYU
iio: temperature: mlx90632: make headers conform to IWYU
iio: temperature: mlx90635: make headers conform to IWYU
iio: temperature: tmp117: sort headers alphabetically
iio: temperature: tmp117: make headers conform to IWYU
iio: temperature: tsys01: reorder headers
iio: temperature: tsys01: make headers conform to IWYU
iio: temperature: tsys02d: reorder headers
iio: temperature: tsys02d: make headers conform to IWYU

 drivers/iio/temperature/iqs620at-temp.c |  9 +++++++--
 drivers/iio/temperature/ltc2983.c       | 19 +++++++++++++++----
 drivers/iio/temperature/mlx90632.c      | 10 +++++++---
 drivers/iio/temperature/mlx90635.c      | 11 +++++++----
 drivers/iio/temperature/tmp117.c        |  9 +++++----
 drivers/iio/temperature/tsys01.c        | 17 +++++++++++------
 drivers/iio/temperature/tsys02d.c       | 12 +++++++++---
 7 files changed, 61 insertions(+), 26 deletions(-)

---
base-commit: 350d1fb9204b13c5f95e511e98b8bcb47574d425
change-id: 20260821-kernel-header-removal-d95efd197d78

Best regards,

Signature · 2 lines
Kind regards,
Joshua Crofts