* [PATCH] power: supply: remove duplicated argument in power_supply_hwmon_info
@ 2021-01-12 1:49 menglong8.dong
2021-01-12 22:08 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: menglong8.dong @ 2021-01-12 1:49 UTC (permalink / raw)
To: sre; +Cc: linux-pm, linux-kernel, Menglong Dong
From: Menglong Dong <dong.menglong@zte.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@zte.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: supply: remove duplicated argument in power_supply_hwmon_info
2021-01-12 1:49 [PATCH] power: supply: remove duplicated argument in power_supply_hwmon_info menglong8.dong
@ 2021-01-12 22:08 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2021-01-12 22:08 UTC (permalink / raw)
To: menglong8.dong; +Cc: linux-pm, linux-kernel, Menglong Dong
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
Hi,
On Mon, Jan 11, 2021 at 05:49:31PM -0800, menglong8.dong@gmail.com wrote:
> From: Menglong Dong <dong.menglong@zte.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@zte.com.cn>
> ---
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-12 22:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 1:49 [PATCH] power: supply: remove duplicated argument in power_supply_hwmon_info menglong8.dong
2021-01-12 22:08 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).