summaryrefslogtreecommitdiffstats
path: root/drivers/iio/humidity
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-02-02 21:34:20 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-06 16:21:43 +0100
commitd2fdbccd809605a0813cd119ba20f84536b7c95b (patch)
tree81d4ede6600d5141a228927e85be68fc6c16add4 /drivers/iio/humidity
parentiio: frequency: adf4350: Make use of device properties (diff)
downloadlinux-d2fdbccd809605a0813cd119ba20f84536b7c95b.tar.xz
linux-d2fdbccd809605a0813cd119ba20f84536b7c95b.zip
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>
Diffstat (limited to 'drivers/iio/humidity')
-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>