staging: comedi: addi_apci_1710: cleanup addi_find_boardinfo()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 1 Nov 2012 18:09:12 +0000 (11:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 19:34:25 +0000 (12:34 -0700)
commit678e4e27bc31c78b3a7171d6e26d7825c46d5c36
treed0404727f949a811f3fb25b4a11079dded9e64d6
parentc9ab760d63d33efee64bbe26b2002e459c3c4c57
staging: comedi: addi_apci_1710: cleanup addi_find_boardinfo()

This driver uses the comedi PCI auto attach mechanism and the comedi
core does not use the boardinfo during the attach.

Now that this driver has the attach separated from addi_common.c we
can remove passing the boardinfo in the comedi_driver and cleanup
the code that finds the boardinfo.

Also, rename addi_find_boardinfo() so it has namespace associated
with this driver.

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_apci_1710.c