diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-30 04:07:45 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 21:50:14 +0400 |
| commit | ef4e05f0c881a8a1152ac6f2e24ed0bccc41d045 (patch) | |
| tree | 04c0278b80bfa4f8f09fbf9180636913c12ae303 /include/linux/pps_kernel.h | |
| parent | 7cd25bf08c2bc4794b026feea0230b9caf787744 (diff) | |
| download | linux-ef4e05f0c881a8a1152ac6f2e24ed0bccc41d045.tar.xz | |
staging: comedi: addi_eeprom: cleanup i_EepromReadDigitalInputHeader()
Add namespace by renaming this CamelCase function to
addi_eeprom_read_di_info().
Refactor the function so that it stores the data from the eeprom directly
in the private data instead of using the a struct to pass the data back
to i_EepromReadMainHeader(). This allows removing the str_DigitalInputHeader
struct.
Leave the reads of the unused eeprom data for now.
The return value is always 0 and it's never checked. Change it to void.
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/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions
