bq27x00_battery: Fix reporting battery temperature
authorPali Rohár <pali.rohar@gmail.com>
Sat, 2 Feb 2013 10:06:09 +0000 (11:06 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 26 Oct 2013 22:48:05 +0000 (01:48 +0300)
commitc0c62d30af220d2f44d908fd9a60108b727ec2aa
tree0b1e829d91d236dce75c22834f4985f558ee6f8e
parent2cd13113ed94fd90c0cafe255f732c61c13ce2b0
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>
Conflicts:

drivers/power/bq27x00_battery.c
drivers/power/bq27x00_battery.c