Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Cc: jdelvare@suse.com, linux-hwmon@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH] hwmon: (emc2305) Remove unused including <linux/version.h>
Date: Sun, 4 Sep 2022 09:10:24 -0700	[thread overview]
Message-ID: <20220904161024.GA3007639@roeck-us.net> (raw)
In-Reply-To: <20220901022332.40248-1-jiapeng.chong@linux.alibaba.com>

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 };

      reply	other threads:[~2022-09-04 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01  2:23 [PATCH] hwmon: (emc2305) Remove unused including <linux/version.h> Jiapeng Chong
2022-09-04 16:10 ` Guenter Roeck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220904161024.GA3007639@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=abaci@linux.alibaba.com \
    --cc=jdelvare@suse.com \
    --cc=jiapeng.chong@linux.alibaba.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox