Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andy Shevchenko and committed by
Jonathan Cameron
d2fdbccd 130650e8

+1 -2
+1 -2
drivers/iio/humidity/dht11.c
··· 11 11 #include <linux/kernel.h> 12 12 #include <linux/printk.h> 13 13 #include <linux/slab.h> 14 - #include <linux/of.h> 15 - #include <linux/of_device.h> 16 14 #include <linux/sysfs.h> 17 15 #include <linux/io.h> 16 + #include <linux/mod_devicetable.h> 18 17 #include <linux/module.h> 19 18 #include <linux/platform_device.h> 20 19 #include <linux/wait.h>