summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-02-02 22:34:20 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-06 15:21:43 +0000
commitd2fdbccd809605a0813cd119ba20f84536b7c95b (patch)
tree81d4ede6600d5141a228927e85be68fc6c16add4
parent130650e8360fa39919b61eab048c6a724da243d8 (diff)
downloadlinux-d2fdbccd809605a0813cd119ba20f84536b7c95b.tar.gz
iio: humidity: dht11: Switch from of headers to mod_devicetable.h
There is nothing directly using of specific interfaces in this driver,
so lets not include the headers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220202203420.56654-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/humidity/dht11.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/humidity/dht11.c b/drivers/iio/humidity/dht11.c
index 9a7819817488..c97e25448772 100644
--- a/drivers/iio/humidity/dht11.c
+++ b/drivers/iio/humidity/dht11.c
@@ -11,10 +11,9 @@
 #include <linux/kernel.h>
 #include <linux/printk.h>
 #include <linux/slab.h>
-#include <linux/of.h>
-#include <linux/of_device.h>
 #include <linux/sysfs.h>
 #include <linux/io.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/wait.h>