2020-12-05 01:29:55

by Masanari Iida

[permalink] [raw]
Subject: [PATCH] power: supply: Fix a typo in warning message

This patch fix a warning messages in power_supply_sysfs.c

Signed-off-by: Masanari Iida <[email protected]>
---
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


2020-12-14 08:42:20

by Sebastian Reichel

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

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 <[email protected]>
> ---

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
>


Attachments:
(No filename) (1.04 kB)
signature.asc (849.00 B)
Download all attachments