Skip to contentSkip to conversation

power: supply: Fix a typo in warning message

PATCH In review Masanari Iida 2 participants 2 messages Dec 5, 2020 – Dec 13, 2020 Power supply

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 power: supply: Fix a typo in warning message

This patch fix a warning messages in power_supply_sysfs.c

---
 drivers/power/supply/power_supply_sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/supply/power_supply_sysfs.c +1 -1
index a616b9d8f43c..92dd63171193 100644
@@ -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 {
Signature · 1 line
2.25.0
#1 lore raw

Hi,

Quoted 4 lines · Masanari Iida

This patch fix a warning messages in power_supply_sysfs.c

---

Thanks, queued.

-- Sebastian

Quoted 19 lines
 drivers/power/supply/power_supply_sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/supply/power_supply_sysfs.c +1 -1
index a616b9d8f43c..92dd63171193 100644
@@ -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 {
Signature · 1 line
2.25.0