bq27x00_battery: Do not cache current_now value for bq27000 batery
authorPali Rohár <pali.rohar@gmail.com>
Tue, 1 Nov 2011 00:43:03 +0000 (01:43 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 14 Jan 2012 17:45:09 +0000 (19:45 +0200)
commit52c392e30c17babb1deb587b3ed51ee80217c3dc
tree57b82dcd66a6847e9ea27f3c97621c793eab1037
parenta8ad7e4eed228a9ac63fed94157e4da7ff213ce5
bq27x00_battery: Do not cache current_now value for bq27000 batery

* This prevent reporting old current_now value for bq27000
* Also ask for current flags, to make sure that current_now
  will be reported with correct signature

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/bq27x00_battery.c