OSDN Git Service

staging: comedi: addi_apci_3120: cleanup addi_find_boardinfo()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 2 Nov 2012 00:31:10 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Nov 2012 18:23:51 +0000 (11:23 -0700)
commit60eebfad7a2191176fd8af323c1fc6821c8cd61a
tree68595638dc78b2e98a334c69d6f2523359e27665
parent7dd2358156285dc525d309dd1347d4fdab5c0773
staging: comedi: addi_apci_3120: 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_3120.c