Skip to contentSkip to conversation

iio: chemical: bme680: Switch from of headers to mod_devicetable.h

PATCH Applied Andy Shevchenko 2 participants 2 messages Feb 3, 2022 – Feb 5, 2022 IIO

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/iio/chemical/bme680_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/chemical/bme680_spi.c +1 -1
index cc579a7ac5ce..0a064a395178 100644
@@ -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
maintainer Applied
#1 lore raw
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.

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
index cc579a7ac5ce..0a064a395178 100644
@@ -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>