[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220508190212.3fc02a3f@jic23-huawei>
Date: Sun, 8 May 2022 19:02:12 +0100
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,
Lorenzo Bianconi <lorenzo@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>
Subject: Re: [PATCH v1 1/1] iio: imu: st_lsm6dsx: Switch from of headers to
mod_devicetable.h
On Sat, 7 May 2022 20:34:40 +0300
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 to the togreg branch of iio.git and pushed out as testing
for all the normal boring reasons.
Thanks,
Jonathan
> ---
> drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c
> index 8d4201b86e87..35556cd04284 100644
> --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c
> +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c
> @@ -6,11 +6,11 @@
> */
>
> #include <linux/kernel.h>
> +#include <linux/mod_devicetable.h>
> #include <linux/module.h>
> #include <linux/i3c/device.h>
> #include <linux/i3c/master.h>
> #include <linux/slab.h>
> -#include <linux/of.h>
> #include <linux/regmap.h>
>
> #include "st_lsm6dsx.h"
Powered by blists - more mailing lists