iio: chemical: bme680: Switch from of headers to mod_devicetable.h
PATCH 1/1 iio: chemical: bme680: 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/chemical/bme680_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/chemical/bme680_spi.c +1 -1
@@ -4,8 +4,8 @@* * Copyright (C) 2018 Himanshu Jha <[email protected]> */ +#include <linux/mod_devicetable.h> #include <linux/module.h> -#include <linux/of.h> #include <linux/regmap.h> #include <linux/spi/spi.h>
Signature · 1 line
2.34.1
Quoted 4 lines · On Thu, 3 Feb 2022 14:27:25 +0200 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,
Thanks,
Jonathan
Quoted 18 lines
--- drivers/iio/chemical/bme680_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iio/chemical/bme680_spi.c +1
-1@@ -4,8 +4,8 @@* * Copyright (C) 2018 Himanshu Jha <[email protected]> */ +#include <linux/mod_devicetable.h> #include <linux/module.h> -#include <linux/of.h> #include <linux/regmap.h> #include <linux/spi/spi.h>