mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] hwmon: Remove duplicated include in lm75.c
@ 2023-07-18  0:28 Yang Li
  2023-07-18  0:30 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2023-07-18  0:28 UTC (permalink / raw)
  To: jdelvare; +Cc: linux, linux-hwmon, linux-kernel, Yang Li, Abaci Robot

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5900
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] hwmon: Remove duplicated include in lm75.c
  2023-07-18  0:28 [PATCH -next] hwmon: Remove duplicated include in lm75.c Yang Li
@ 2023-07-18  0:30 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2023-07-18  0:30 UTC (permalink / raw)
  To: Yang Li, jdelvare; +Cc: linux-hwmon, linux-kernel, Abaci Robot

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@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5900
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-18  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-18  0:28 [PATCH -next] hwmon: Remove duplicated include in lm75.c Yang Li
2023-07-18  0:30 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®