Commit c2362519 authored by Masanari Iida's avatar Masanari Iida Committed by Sebastian Reichel

power: supply: Fix a typo in warning message

This patch fix a warning messages in power_supply_sysfs.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent d6e33fc8
...@@ -402,7 +402,7 @@ void power_supply_init_attrs(struct device_type *dev_type) ...@@ -402,7 +402,7 @@ void power_supply_init_attrs(struct device_type *dev_type)
struct device_attribute *attr; struct device_attribute *attr;
if (!power_supply_attrs[i].prop_name) { 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); __func__, i);
sprintf(power_supply_attrs[i].attr_name, "_err_%d", i); sprintf(power_supply_attrs[i].attr_name, "_err_%d", i);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment