bq27x00: Use single i2c_transfer call for property read
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 15 Feb 2011 21:27:35 +0000 (23:27 +0200)
committerLars-Peter Clausen <lars@metafoo.de>
Tue, 22 Feb 2011 10:02:48 +0000 (11:02 +0100)
commit9e912f452931b3da9d13d716a381ba0d5fb74ced
treef3fa488fc6e448bbe492404897227db460089c5b
parent2ec523a8238a117b082ca6b0cef3b9ae812364f9
bq27x00: Use single i2c_transfer call for property read

Doing this by using 2 calls sometimes results in unexpected
values being returned on OMAP3 i2c controller.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/power/bq27x00_battery.c