]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21dd817d565d1432793452c88a60af0010e67343
treec932c9b424a054d1f4be835f8885b6c3596d5764
parent9c2eafec471901a9089a821bda392a91ef5be03d
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