summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Crofts <joshua.crofts1@gmail.com>2026-08-31 23:13:39 +0200
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-05 01:09:46 +0100
commit988bbca6448476a304ad7e1c799d4c13d9ffa491 (patch)
tree3c05e4429c6cad8aa215ab6465f3ac7f4c661917
parentac85c27e16fc7ab7f852428d69d138584106671f (diff)
downloadlinux-next-988bbca6448476a304ad7e1c799d4c13d9ffa491.tar.gz
linux-next-988bbca6448476a304ad7e1c799d4c13d9ffa491.zip
iio: temperature: tsys01: make headers conform to IWYU
Remove the catch-all kernel.h header, add missing headers and remove unused 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/tsys01.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/iio/temperature/tsys01.c b/drivers/iio/temperature/tsys01.c
index 14de67ee8be7..b19b4a3ef038 100644
--- a/drivers/iio/temperature/tsys01.c
+++ b/drivers/iio/temperature/tsys01.c
@@ -8,12 +8,15 @@
* http://www.meas-spec.com/downloads/TSYS01_Digital_Temperature_Sensor.pdf
*/
+#include <linux/array_size.h>
+#include <linux/bits.h>
#include <linux/device.h>
-#include <linux/init.h>
-#include <linux/kernel.h>
+#include <linux/i2c.h>
+#include <linux/math64.h>
#include <linux/module.h>
#include <linux/mutex.h>
-#include <linux/stat.h>
+#include <linux/sprintf.h>
+#include <linux/types.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>