2023-07-18 02:01:41

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] hwmon: Remove duplicated include in lm75.c

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

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5900
Signed-off-by: Yang Li <[email protected]>
---
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>
--
2.20.1.7.g153144c