bq27x00_battery: optimize i2c read
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 14 May 2016 19:59:00 +0000 (22:59 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 15 May 2016 12:43:21 +0000 (15:43 +0300)
commit098d5280b80966bd48659e09e8f5a251b584f3b3
treebbc67116ac2cd2c748ef9c41ebfd0f5482edada2
parent58bb1280a112f32cdfdec97925e00210a5d3ca6c
bq27x00_battery: optimize i2c read

One big instead of many small ones.
Less irqs, wakeups and context switches.
drivers/power/bq27x00_battery.c