]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: adv_pci1710: use attach_pci callback
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 22:08:21 +0000 (15:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2012 16:29:22 +0000 (09:29 -0700)
commitf62608e3d01ecfc66e0d380dbd0a3927a1ca4b4f
treee0f020e43c4423af10d2139410522b8b0ec42115
parentbc4b4aa5f5153d42d03244c2cbb19546f6200aef
staging: comedi: adv_pci1710: 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_pci1710.c