diff options
Diffstat (limited to 'drivers/power/power_supply_sysfs.c')
-rw-r--r-- | drivers/power/power_supply_sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c index 605514afc29f..eb9a986c4f9f 100644 --- a/drivers/power/power_supply_sysfs.c +++ b/drivers/power/power_supply_sysfs.c | |||
@@ -77,8 +77,8 @@ static ssize_t power_supply_show_property(struct device *dev, | |||
77 | dev_dbg(dev, "driver has no data for `%s' property\n", | 77 | dev_dbg(dev, "driver has no data for `%s' property\n", |
78 | attr->attr.name); | 78 | attr->attr.name); |
79 | else if (ret != -ENODEV) | 79 | else if (ret != -ENODEV) |
80 | dev_err(dev, "driver failed to report `%s' property\n", | 80 | dev_err(dev, "driver failed to report `%s' property: %d\n", |
81 | attr->attr.name); | 81 | attr->attr.name, ret); |
82 | return ret; | 82 | return ret; |
83 | } | 83 | } |
84 | 84 | ||