[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220205172646.0d8f9ac3@jic23-huawei>
Date: Sat, 5 Feb 2022 17:26:46 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Lars-Peter Clausen <lars@...afoo.de>
Subject: Re: [PATCH v1 1/1] iio: humidity: dht11: Switch from of headers to
mod_devicetable.h
On Wed, 2 Feb 2022 22:34:20 +0200
Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
> There is nothing directly using of specific interfaces in this driver,
> so lets not include the headers.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Applied.
> ---
> drivers/iio/humidity/dht11.c | 3 +--
> 1 file changed, 1 insertion(+), 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>
Powered by blists - more mailing lists