]> Pileus Git - ~andy/linux/commit
staging: comedi: me4000: use attach_pci callback
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 8 Sep 2012 00:47:41 +0000 (17:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Sep 2012 04:53:01 +0000 (21:53 -0700)
commit5f8f8d43506652a361f81abc5ccd18c608dfc84d
tree93979b78c6c879e7c92f2139b4120b7e7b4c0752
parentba5cb4ba57053153959587b67881eecec89eb08f
staging: comedi: me4000: 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/me4000.c