diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-11-10 15:42:48 +0100 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-11-18 16:02:41 -0800 |
commit | e59ec4a1899dfff007d91b30f00e7211731b816b (patch) | |
tree | e9480fd0f47be894769a2999e03d80d0eac033eb /drivers/power/jz4740-battery.c | |
parent | 6c47a3e00c6e4f3cdac7566c1480de34d9e32e07 (diff) | |
download | lwn-e59ec4a1899dfff007d91b30f00e7211731b816b.tar.gz lwn-e59ec4a1899dfff007d91b30f00e7211731b816b.zip |
bq27x00_battery: Fixup nominal available capacity reporting
We should not not report nominal available capacity if battery is not
calibrated, as we don't want to represent bogus values in the sysfs and
confuse userland.
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/jz4740-battery.c')
0 files changed, 0 insertions, 0 deletions