summaryrefslogtreecommitdiffstats
path: root/drivers/power/da9030_battery.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2013-02-02 11:06:09 +0100
committerAnton Vorontsov <anton@enomsg.org>2013-02-02 19:44:08 -0800
commit5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba (patch)
tree44c9c77971b5f1ff7bd29e981ec76193118bfc37 /drivers/power/da9030_battery.c
parent60a1c4d41b3af91366bcb2a52b30b2050a48273e (diff)
downloadlinux-stable-5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba.tar.gz
linux-stable-5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba.tar.bz2
linux-stable-5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba.zip
bq27x00_battery: Fix reporting battery temperature
Reported temperature can be also negative, so cache value in non negative Kelvin degree. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/da9030_battery.c')
0 files changed, 0 insertions, 0 deletions