power_supply: bq27x00: fix voltage and current units
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 27 Feb 2010 15:06:44 +0000 (17:06 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Sat, 27 Feb 2010 15:09:24 +0000 (18:09 +0300)
commitafbc74fdc5b96552c384e57119b3cc13c840bf06
tree34d495ce443ce5d6fbfaa4d17bce816f5b73e984
parent4e924a814ac78e325653840190e9e4762e6f4b7c
power_supply: bq27x00: fix voltage and current units

The chip returns voltage and current in mV and mA, but
power supply class uses uV and uA, so add missing conversion.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/bq27x00_battery.c