Re: [PATCH] power: supply: remove duplicated argument in power_supply_hwmon_info

From: Sebastian Reichel
Date: Tue Jan 12 2021 - 17:09:35 EST


Hi,

On Mon, Jan 11, 2021 at 05:49:31PM -0800, menglong8.dong@xxxxxxxxx wrote:
> From: Menglong Dong <dong.menglong@xxxxxxxxxx>
>
> '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@xxxxxxxxxx>
> ---

Thanks, queued.

-- Sebastian

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

Attachment: signature.asc
Description: PGP signature