Re: [PATCH] hwmon: (emc2305) Remove unused including <linux/version.h>

From: Guenter Roeck
Date: Sun Sep 04 2022 - 12:10:35 EST


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@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

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