commit | 25b9b873d3e3c1ed25cd5a7551bfee0b42d4ed1d | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Jan 23 12:42:02 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 25 12:00:29 2013 -0800 |
tree | d940d2c8ac635e0e7c5394a9711474e8b6c85a93 | |
parent | 87c38fbed5bb706785be9171ed4a9b41faf17e13 [diff] |
staging: comedi: addi_apci_3501: simplify reading the eeprom The only value in the eeprom that is used by this driver is the number of analog output channels. Copy the necessary code from addi_eeprom.c to this driver and refactor it so that we can get the value needed. 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>