staging: comedi: s626: use attach_pci callback
commit91e674e83c530d5902e482ede1af0115989c4fe6
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 24 Sep 2012 20:21:53 +0000 (24 13:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 16:37:29 +0000 (26 09:37 -0700)
tree4a5be768e965c92ec9b59395ee1c99bd29ed641c
parent832defbb58061fedb7a5c43aab7d762afaac2cc9
staging: comedi: s626: 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 not 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/s626.c