Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH] hwmon: (emc2305) Remove unused including <linux/version.h>
@ 2022-09-01  2:23 Jiapeng Chong
  2022-09-04 16:10 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-09-01  2:23 UTC (permalink / raw)
  To: jdelvare; +Cc: linux, linux-hwmon, linux-kernel, Jiapeng Chong, Abaci Robot

./drivers/hwmon/emc2305.c: 14 linux/version.h not needed.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2024
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/hwmon/emc2305.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/hwmon/emc2305.c b/drivers/hwmon/emc2305.c
index df4c5816f661..e5e96a895549 100644
--- a/drivers/hwmon/emc2305.c
+++ b/drivers/hwmon/emc2305.c
@@ -11,7 +11,6 @@
 #include <linux/module.h>
 #include <linux/platform_data/emc2305.h>
 #include <linux/thermal.h>
-#include <linux/version.h>
 
 static const unsigned short
 emc2305_normal_i2c[] = { 0x27, 0x2c, 0x2d, 0x2e, 0x2f, 0x4c, 0x4d, I2C_CLIENT_END };
-- 
2.20.1.7.g153144c


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

* Re: [PATCH] hwmon: (emc2305) Remove unused including <linux/version.h>
  2022-09-01  2:23 [PATCH] hwmon: (emc2305) Remove unused including <linux/version.h> Jiapeng Chong
@ 2022-09-04 16:10 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-09-04 16:10 UTC (permalink / raw)
  To: Jiapeng Chong; +Cc: jdelvare, linux-hwmon, linux-kernel, Abaci Robot

On Thu, Sep 01, 2022 at 10:23:32AM +0800, Jiapeng Chong wrote:
> ./drivers/hwmon/emc2305.c: 14 linux/version.h not needed.
> 
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2024
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/emc2305.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/hwmon/emc2305.c b/drivers/hwmon/emc2305.c
> index df4c5816f661..e5e96a895549 100644
> --- a/drivers/hwmon/emc2305.c
> +++ b/drivers/hwmon/emc2305.c
> @@ -11,7 +11,6 @@
>  #include <linux/module.h>
>  #include <linux/platform_data/emc2305.h>
>  #include <linux/thermal.h>
> -#include <linux/version.h>
>  
>  static const unsigned short
>  emc2305_normal_i2c[] = { 0x27, 0x2c, 0x2d, 0x2e, 0x2f, 0x4c, 0x4d, I2C_CLIENT_END };

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

end of thread, other threads:[~2022-09-04 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-01  2:23 [PATCH] hwmon: (emc2305) Remove unused including <linux/version.h> Jiapeng Chong
2022-09-04 16:10 ` Guenter Roeck

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