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)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 25 Nov 2011 19:57:14 +0000 (23:57 +0400)
commitb68f6216c5f53698379603209d3168766449fdab
treeda4a07c26d78ee7d7f309c6328d93fb5f551499f
parente7a5f6d55991fb3b3214f435681ee2db96320395
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