summaryrefslogtreecommitdiff
path: root/drivers/staging/udlfb
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@collabora.co.uk>2009-06-30 06:14:00 (GMT)
committerAnton Vorontsov <cbouatmailru@gmail.com>2009-06-30 22:36:38 (GMT)
commit04a820ead0838c76e9c1242feb5e71048bf3e9dc (patch)
treecbcc95a15782189403d3e632dcd0b1b13bdb9c82 /drivers/staging/udlfb
parent5a4f13fad1ab5bd08dea78fc55321e429d83cddf (diff)
downloadlinux-fsl-qoriq-04a820ead0838c76e9c1242feb5e71048bf3e9dc.tar.xz
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>
Diffstat (limited to 'drivers/staging/udlfb')
0 files changed, 0 insertions, 0 deletions