power: supply: remove duplicated argument in power_supply_hwmon_info
authorMenglong Dong <dong.menglong@zte.com.cn>
Tue, 12 Jan 2021 01:49:31 +0000 (17:49 -0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 12 Jan 2021 22:00:32 +0000 (23:00 +0100)
'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@zte.com.cn>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_hwmon.c

index 7fe4b6b..bffe6d8 100644 (file)
@@ -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,