Re: [PATCH -next] hwmon: Remove duplicated include in lm75.c

From: Guenter Roeck
Date: Mon Jul 17 2023 - 20:30:48 EST


On 7/17/23 17:28, Yang Li wrote:
./drivers/hwmon/lm75.c: linux/of.h is included more than once.

Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5900
Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>

Already fixed in hwmon-next.

Guenter

---
drivers/hwmon/lm75.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
index 72cdc405a3b0..bcfa8193e5e7 100644
--- a/drivers/hwmon/lm75.c
+++ b/drivers/hwmon/lm75.c
@@ -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>