Skip to content

Commit

Permalink
hide error message
Browse files Browse the repository at this point in the history
Change-Id: Ic1dcb92b1bf2595a378ec824f382d1c20789fb2a
  • Loading branch information
walidham committed Aug 25, 2023
1 parent 7341e4d commit 647d3a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/power/power_supply_sysfs.c
Expand Up @@ -96,9 +96,9 @@ static ssize_t power_supply_show_property(struct device *dev,
if (ret == -ENODATA)
dev_dbg(dev, "driver has no data for `%s' property\n",
attr->attr.name);
else if (ret != -ENODEV)
dev_err(dev, "driver failed to report `%s' property: %zd\n",
attr->attr.name, ret);
// else if (ret != -ENODEV)
// dev_err(dev, "driver failed to report `%s' property: %zd\n",
// attr->attr.name, ret);
return ret;
}

Expand Down

0 comments on commit 647d3a7

Please sign in to comment.