staging: comedi: ni_670x: use module_comedi_pci_driver
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 30 Jun 2012 00:35:26 +0000 (17:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:46:04 +0000 (15:46 -0700)
commit6f37e28821c38ea1981cef26ca6187cf307ea612
tree201a1bf1d75d6677501d2cdb9038848dbe8532da
parent404f99910eb06b92e034112533bab997569dc0d4
staging: comedi: ni_670x: use module_comedi_pci_driver

Refactor the driver to use the module_comedi_pci_driver() helper.
This gets rid of some of the module boilerplate code.

For aesthetic reasons, rename the comedi_driver and pci_driver to
follow the convention of the other comedi pci drivers.

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