mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
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>
This commit is contained in:
parent
6b714ea49b
commit
f1d33ae806
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user