power: supply: Fix a typo in warning message
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>
This commit is contained in:
parent
d6e33fc89e
commit
c2362519a0
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue