staging: comedi: contec_pci: remove manual legacy attach
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 17 Aug 2012 16:34:52 +0000 (09:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 16:48:10 +0000 (09:48 -0700)
commitd602a064f9818819d6c99d99f101bc6b1ae1540d
treed2bf0f1a9b85f6c9e71563982851acb16b7460ef
parentbf2023614201b36f929cce0d9fbb3cc856ea7c1a
staging: comedi: contec_pci: remove manual legacy attach

This driver uses the 'attach_pci' callback to attach the pci device
to the comedi subsystem. Since the 'attach' callback is now optional
it can be removed from the driver.

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