[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210112014931.5429-1-dong.menglong@zte.com.cn>
Date: Mon, 11 Jan 2021 17:49:31 -0800
From: menglong8.dong@...il.com
To: sre@...nel.org
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Menglong Dong <dong.menglong@....com.cn>
Subject: [PATCH] power: supply: remove duplicated argument in power_supply_hwmon_info
From: Menglong Dong <dong.menglong@....com.cn>
'HWMON_T_INPUT' and 'HWMON_T_MIN_ALARM' in power_supply_hwmon_info are
duplicated and can be removed.
Signed-off-by: Menglong Dong <dong.menglong@....com.cn>
---
drivers/power/supply/power_supply_hwmon.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/power/supply/power_supply_hwmon.c b/drivers/power/supply/power_supply_hwmon.c
index 7fe4b6b6ddc8..bffe6d84c429 100644
--- a/drivers/power/supply/power_supply_hwmon.c
+++ b/drivers/power/supply/power_supply_hwmon.c
@@ -299,13 +299,11 @@ static const struct hwmon_channel_info *power_supply_hwmon_info[] = {
HWMON_T_INPUT |
HWMON_T_MAX |
HWMON_T_MIN |
- HWMON_T_MIN_ALARM |
HWMON_T_MIN_ALARM,
HWMON_T_LABEL |
HWMON_T_INPUT |
HWMON_T_MIN_ALARM |
- HWMON_T_LABEL |
HWMON_T_MAX_ALARM),
HWMON_CHANNEL_INFO(curr,
--
2.17.1
Powered by blists - more mailing lists