Re: [PATCH] power: supply: Fix a typo in warning message

From: Sebastian Reichel
Date: Sat Dec 12 2020 - 19:08:41 EST


Hi,

On Sat, Dec 05, 2020 at 10:25:32AM +0900, Masanari Iida wrote:
> This patch fix a warning messages in power_supply_sysfs.c
>
> Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
> ---

Thanks, queued.

-- Sebastian

> drivers/power/supply/power_supply_sysfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c
> index a616b9d8f43c..92dd63171193 100644
> --- a/drivers/power/supply/power_supply_sysfs.c
> +++ b/drivers/power/supply/power_supply_sysfs.c
> @@ -402,7 +402,7 @@ void power_supply_init_attrs(struct device_type *dev_type)
> struct device_attribute *attr;
>
> if (!power_supply_attrs[i].prop_name) {
> - pr_warn("%s: Property %d skipped because is is missing from power_supply_attrs\n",
> + pr_warn("%s: Property %d skipped because it is missing from power_supply_attrs\n",
> __func__, i);
> sprintf(power_supply_attrs[i].attr_name, "_err_%d", i);
> } else {
> --
> 2.25.0
>

Attachment: signature.asc
Description: PGP signature