summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-12-03 00:24:51 +0300
committerAnton Vorontsov <avorontsov@ru.mvista.com>2009-12-03 00:38:06 +0300
commit9d233e8bb92e355fd20b14745c1d9ff402e0e685 (patch)
tree8046983fd1d9a89a34e61619f35be6b3ec78789c /arch
parent0e19dbb73eab1f5de328e297b8b6d9887c3e73c2 (diff)
downloadop-kernel-dev-9d233e8bb92e355fd20b14745c1d9ff402e0e685.zip
op-kernel-dev-9d233e8bb92e355fd20b14745c1d9ff402e0e685.tar.gz
power_supply_sysfs: Handle -ENODATA in a special way
There are cases when some device can not report any meaningful value, e.g. TWL4030 charger can report voltage only when charging is active. In these cases drivers will return -ENODATA, and we shouldn't flood kernel log with error messages. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud