staging: comedi: addi_eeprom: don't pass the eeprom 'type'
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 30 Oct 2012 00:10:14 +0000 (17:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 17:50:15 +0000 (10:50 -0700)
commit5df28346f0fb4565f8ff05ab5cd913676c670ef1
treec932c9b424a054d1f4be835f8885b6c3596d5764
parent14cb151d29fa0fc0ebe22f01876a4408657a0ac3
staging: comedi: addi_eeprom: don't pass the eeprom 'type'

The eeprom 'type' can be found from the boardinfo when needed.
Finding it when needed also makes it clearer what this value is.

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>
drivers/staging/comedi/drivers/addi-data/addi_eeprom.c