git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4f13f
)
olpc_battery: Fix up eeprom read function
author
Andres Salomon
<dilinger@collabora.co.uk>
Tue, 30 Jun 2009 06:14:00 +0000
(
02:14
-0400)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Tue, 30 Jun 2009 22:36:38 +0000
(
02:36
+0400)
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>
No differences found