diff options
| author | Joshua Crofts <joshua.crofts1@gmail.com> | 2026-08-31 23:13:31 +0200 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-09-05 01:09:45 +0100 |
| commit | ddec1298bda0764f71cd6bf5c761310c7e590e66 (patch) | |
| tree | 2174ac242868c670c592a1a2aa063b0997a97e46 | |
| parent | 309bd01041636b587bcb424b243640b448bd62f7 (diff) | |
| download | linux-next-ddec1298bda0764f71cd6bf5c761310c7e590e66.tar.gz linux-next-ddec1298bda0764f71cd6bf5c761310c7e590e66.zip | |
iio: temperature: iqs620at-temp: make headers conform to IWYU
Remove the catch-all kernel.h header and add the missing headers to
enforce IWYU.
Additionally, separate the IIO specific header from the generic
<linux/*> headers.
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
| -rw-r--r-- | drivers/iio/temperature/iqs620at-temp.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/iio/temperature/iqs620at-temp.c b/drivers/iio/temperature/iqs620at-temp.c index e2f878d57af7..3a3b1f256585 100644 --- a/drivers/iio/temperature/iqs620at-temp.c +++ b/drivers/iio/temperature/iqs620at-temp.c @@ -5,13 +5,18 @@ * Copyright (C) 2019 Jeff LaBundy <jeff@labundy.com> */ +#include <linux/array_size.h> +#include <linux/bits.h> #include <linux/device.h> -#include <linux/iio/iio.h> -#include <linux/kernel.h> #include <linux/mfd/iqs62x.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/regmap.h> +#include <linux/types.h> + +#include <asm/byteorder.h> + +#include <linux/iio/iio.h> #define IQS620_TEMP_UI_OUT 0x1A |
