Searched hist:"04 a820ead0838c76e9c1242feb5e71048bf3e9dc" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/power/supply/ |
H A D | olpc_battery.c | 04a820ead0838c76e9c1242feb5e71048bf3e9dc Tue Jun 30 06:14:00 UTC 2009 Andres Salomon <dilinger@collabora.co.uk> 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 <dilinger@collabora.co.uk> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
|