From: Masanari Iida Date: Sat, 5 Dec 2020 01:25:32 +0000 (+0900) Subject: power: supply: Fix a typo in warning message X-Git-Tag: v5.11-rc1~58^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2362519a04a7307e386e43bc567780d0d7631c7;p=thirdparty%2Fkernel%2Flinux.git power: supply: Fix a typo in warning message This patch fix a warning messages in power_supply_sysfs.c Signed-off-by: Masanari Iida Signed-off-by: Sebastian Reichel --- diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c index a616b9d8f43c5..92dd631711933 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 {