power: supply: Fix a typo in warning message
PATCH 1/1 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(-)
drivers/power/supply/power_supply_sysfs.c +1 -1
@@ -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
Sebastian Reichel
maintainerHi,
Quoted 4 lines · Masanari Iida
This patch fix a warning messages in
power_supply_sysfs.cSigned-off-by Masanari Iida <[email protected]>---
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@@ -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