]> Pileus Git - ~andy/linux/commit
staging: comedi: addi_apci_1032: remove unnecessary eeprom code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 5 Nov 2012 21:38:11 +0000 (14:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Nov 2012 08:30:56 +0000 (09:30 +0100)
commitb1b640a8d8f1f1111d393dd07c8453550fb7cfae
tree154a88d6f4c7e66f1f2dbfb81a61976a151f7498
parentcea5d88c340873bd2f8735342bc79292f98b9944
staging: comedi: addi_apci_1032: remove unnecessary eeprom code

Now that this driver is separate from the "common" addi-data code,
the eeprom does not contain any information required to make this
driver work.

Remove the unneeded initalization of the 's_EeParameters' and the
code that reads the eeprom to fill in the parameters.

Also, since reading the eeprom is not really interesting, remove
the EEPROM subdevice.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1032.c