Skip to contentSkip to conversation

iio: temperature: mlx90632: Switch from of headers to mod_devicetable.h

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: temperature: mlx90632: 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/temperature/mlx90632.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/temperature/mlx90632.c +1 -1
index 608ccb1d8bc8..7ee7ff8047a4 100644
@@ -13,9 +13,9 @@
 #include <linux/iopoll.h>
 #include <linux/kernel.h>
 #include <linux/limits.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/math64.h>
-#include <linux/of.h>
 #include <linux/pm_runtime.h>
 #include <linux/regmap.h>
 
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 4 lines · On Wed, 2 Feb 2022 22:55:31 +0200 Andy Shevchenko…

There is nothing directly using of specific interfaces in this driver, so lets not include the headers.

Applied

Thanks,

Quoted 19 lines
---
 drivers/iio/temperature/mlx90632.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/temperature/mlx90632.c +1 -1
index 608ccb1d8bc8..7ee7ff8047a4 100644
@@ -13,9 +13,9 @@
 #include <linux/iopoll.h>
 #include <linux/kernel.h>
 #include <linux/limits.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/math64.h>
-#include <linux/of.h>
 #include <linux/pm_runtime.h>
 #include <linux/regmap.h>