From: Andres Salomon Date: Tue, 30 Jun 2009 06:14:00 +0000 (-0400) Subject: olpc_battery: Fix up eeprom read function X-Git-Tag: v2.6.31-rc5~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04a820ead0838c76e9c1242feb5e71048bf3e9dc;p=pandora-kernel.git olpc_battery: Fix up eeprom read function The eeprom read function was placing values into the wrong place in 'buf'; we were starting from buf[off], rather than buf[0]. Also, the for loop that we were using was much uglier than it needed to be. This cleans it up a bit. Signed-off-by: Andres Salomon Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed