staging: comedi: adl_pci9111: use attach_pci callback
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 01:59:54 +0000 (18:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 03:05:55 +0000 (20:05 -0700)
commit3e5a0ba03e2f0d7402e47620ce0fae71b44e4723
tree5bd82efddc449cfb0bd54853a08011ff599b542c
parentf2bed9b4cbc6fa34db4e9b788c5f631fb7358ecc
staging: comedi: adl_pci9111: use attach_pci callback

Convert this PCI driver to use the comedi PCI auto config attach
mechanism by adding an 'attach_pci' callback function. Since the
driver does not require any external configuration options, and
the legacy 'attach' callback is now optional, remove it. The
boardinfo is also not needed now so remove it also.

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/adl_pci9111.c