summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Crofts <joshua.crofts1@gmail.com>2026-08-31 23:13:37 +0200
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-05 01:09:46 +0100
commitbe2e8c4e3778a33544f5fd7524993b47714ad613 (patch)
tree023244da9e1aa9749100c443866b7f9530b2b813
parent73eb05776c945ba9d6fa487ef7c3ddb8a4c8a901 (diff)
downloadlinux-next-be2e8c4e3778a33544f5fd7524993b47714ad613.tar.gz
linux-next-be2e8c4e3778a33544f5fd7524993b47714ad613.zip
iio: temperature: tmp117: make headers conform to IWYU
Remove the catch-all kernel.h header and add the missing <linux/dev_printk.h> header to enforce IWYU. 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/tmp117.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/temperature/tmp117.c b/drivers/iio/temperature/tmp117.c
index f9295423e1e1..2d0e79416434 100644
--- a/drivers/iio/temperature/tmp117.c
+++ b/drivers/iio/temperature/tmp117.c
@@ -12,10 +12,11 @@
#include <linux/array_size.h>
#include <linux/bitops.h>
#include <linux/delay.h>
+#include <linux/dev_printk.h>
#include <linux/err.h>
#include <linux/i2c.h>
-#include <linux/kernel.h>
#include <linux/limits.h>
+#include <linux/minmax.h>
#include <linux/module.h>
#include <linux/property.h>
#include <linux/regulator/consumer.h>