diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-30 04:08:40 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 21:50:14 +0400 |
| commit | 2f3da417aaaa470e714ca35e7ee1551ed70cffc5 (patch) | |
| tree | 483c0b9a3f2868f6accd90ed8dccf8efd65cd1ee /include/linux/flex_array.h | |
| parent | 6dbae1ff729018a140a2fd7c3352a90597dafae0 (diff) | |
| download | linux-2f3da417aaaa470e714ca35e7ee1551ed70cffc5.tar.xz | |
staging: comedi: addi_eeprom: cleanup i_EepromReadAnlogInputHeader()
Add namespace by renaming this CamelCase function to
addi_eeprom_read_ai_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_AnalogInputHeader
struct.
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/flex_array.h')
0 files changed, 0 insertions, 0 deletions
