summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-10-30 04:07:30 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-30 21:50:14 +0400
commit7cd25bf08c2bc4794b026feea0230b9caf787744 (patch)
tree2935865192f26dc6c1dac9f813e266125245a05c /include/linux
parent85c1dcbab4d002e1d6c537d88558bb20326d507d (diff)
downloadlinux-7cd25bf08c2bc4794b026feea0230b9caf787744.tar.xz
staging: comedi: addi_eeprom: cleanup i_EepromReadMainHeader()
Consolidate the two loops used to read the main header data and the individual function header data from the eeprom. The structs used to read the main header are not used outside this function so remove them by reading the eeprom data into local variables used in the loop. Consolidate the 'timer' function cases. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions