iio: imu: st_lsm6dsx: Switch from of headers to mod_devicetable.h
Subsystems (2)
PATCH 1/1 iio: imu: st_lsm6dsx: 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 <[email protected]>
--- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c +1 -1
@@ -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"
Signature · 1 line
2.35.1
Jonathan Cameron
maintainerQuoted 4 lines · On Sat, 7 May 2022 20:34:40 +0300 Andy Shevchenko…
There is nothing directly using of specific interfaces in this driver, so lets not include the headers.
Signed-off-by Andy Shevchenko <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for all the normal boring reasons.
Thanks,
Jonathan
Quoted 21 lines
--- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c +1
-1@@ -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"