]> git.baikalelectronics.ru Git - kernel.git/commit
ds2760_battery: Fix indexing of the 4 active full EEPROM registers
authorPaul Parsons <lost.distance@yahoo.com>
Mon, 25 Apr 2011 14:43:30 +0000 (14:43 +0000)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 20 May 2011 15:25:09 +0000 (19:25 +0400)
commit3955303deb1bdfd9521fd5e0baffa5a284594e9d
treebe623cfcd8a3fae9e5880d2d52ea6431b75f15d2
parent63da5931e8cca5081eb50edf3ce147e0a4a8763c
ds2760_battery: Fix indexing of the 4 active full EEPROM registers

Fix indexing of the 4 active full EEPROM registers. The indexing was out by 1, accessing the EEPROM registers at 0x23 to 0x26 instead of 0x22 to 0x25.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/ds2760_battery.c