]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: adl_pci8164: use attach_pci callback
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 17 Aug 2012 02:43:05 +0000 (19:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 15:10:29 +0000 (08:10 -0700)
commit6bfbd988d8abfd86e0cd93ae21ba1998378bddfa
treeca68726a515894c361fa88ab0f6bccfc7c30aec4
parent180d7fc8ab7ace9b911196d6eba2c1e47c3cbe85
staging: comedi: adl_pci8164: 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/adl_pci8164.c