diff options
author | Menglong Dong <dong.menglong@zte.com.cn> | 2021-01-11 17:49:31 -0800 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-01-12 23:00:32 +0100 |
commit | f1d33ae806ec93d535ca5176105e5401e7084440 (patch) | |
tree | 96c514a8ce93df4f5aa7d819a85a767e7491260e /drivers/power | |
parent | 6b714ea49b2ad4ee7cdad9190c2b33e818e9303d (diff) |
power: supply: remove duplicated argument in power_supply_hwmon_info
'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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/power_supply_hwmon.c | 2 |
1 files changed, 0 insertions, 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, |