iio: humidity: dht11: Switch from of headers to mod_devicetable.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 2 Feb 2022 20:34:20 +0000 (22:34 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Feb 2022 15:21:43 +0000 (15:21 +0000)
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>
drivers/iio/humidity/dht11.c

index 9a78198..c97e254 100644 (file)
 #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>