summaryrefslogtreecommitdiffstats
path: root/drivers/power/tosa_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-03 04:44:08 +0100
commit5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba (patch)
tree44c9c77971b5f1ff7bd29e981ec76193118bfc37 /drivers/power/tosa_battery.c
parentpower/reset: Remove newly introduced __dev* annotations (diff)
downloadlinux-5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba.tar.xz
linux-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/tosa_battery.c')
0 files changed, 0 insertions, 0 deletions