Skip to content
Commit 9d233e8b authored by Anton Vorontsov's avatar Anton Vorontsov
Browse files

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: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
parent 0e19dbb7
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