Skip to contentSkip to conversation

hwmon: Remove duplicated include in lm75.c

PATCH In review Yang Li 2 participants 2 messages Jul 18, 2023 Hardware monitoring

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 hwmon: Remove duplicated include in lm75.c

./drivers/hwmon/lm75.c: linux/of.h is included more than once.

---
 drivers/hwmon/lm75.c | 1 -
 1 file changed, 1 deletion(-)
drivers/hwmon/lm75.c +0 -1
index 72cdc405a3b0..bcfa8193e5e7 100644
@@ -14,7 +14,6 @@
 #include <linux/hwmon-sysfs.h>
 #include <linux/err.h>
 #include <linux/of.h>
-#include <linux/of.h>
 #include <linux/regmap.h>
 #include <linux/util_macros.h>
 #include <linux/regulator/consumer.h>
Signature · 1 line
2.20.1.7.g153144c
maintainer
#1 lore raw
Quoted 5 lines · Yang Li

./drivers/hwmon/lm75.c: linux/of.h is included more than once.

Already fixed in hwmon-next.

Guenter

Quoted 16 lines
---
  drivers/hwmon/lm75.c | 1 -
  1 file changed, 1 deletion(-)
drivers/hwmon/lm75.c +0 -1
index 72cdc405a3b0..bcfa8193e5e7 100644
@@ -14,7 +14,6 @@
  #include <linux/hwmon-sysfs.h>
  #include <linux/err.h>
  #include <linux/of.h>
-#include <linux/of.h>
  #include <linux/regmap.h>
  #include <linux/util_macros.h>
  #include <linux/regulator/consumer.h>