From: Anton Vorontsov Date: Wed, 2 Dec 2009 21:24:51 +0000 (+0300) Subject: power_supply_sysfs: Handle -ENODATA in a special way X-Git-Tag: Release-2010-05/1~2^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8adb667caa0f12fe89d911ca85e81f2162d691ba;p=pandora-kernel.git 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 --- Reading git-diff-tree failed