power: supply: Fix a typo in warning message
authorMasanari Iida <standby24x7@gmail.com>
Sat, 5 Dec 2020 01:25:32 +0000 (10:25 +0900)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 13 Dec 2020 00:00:10 +0000 (01:00 +0100)
This patch fix a warning messages in power_supply_sysfs.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_sysfs.c

index a616b9d..92dd631 100644 (file)
@@ -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 {