staging: comedi: adv_pci1723: use attach_pci callback
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 18 Aug 2012 01:18:16 +0000 (18:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 18:20:35 +0000 (11:20 -0700)
commit5222687a7fafdb8633151269103714f2075e9c3d
tree6ee563336cb9a80afa44541002d3e3c7a282350c
parentc8d3739dd30c0b1cdc34608bf292249f7fa34ed6
staging: comedi: adv_pci1723: 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.

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/adv_pci1723.c
This page took 0.026071 seconds and 5 git commands to generate.