staging: comedi: refactor multiq3 driver and use module_comedi_driver
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 4 May 2012 22:19:49 +0000 (15:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 20:33:39 +0000 (13:33 -0700)
commitd573d6bd303d455fe7268c89ceba9288535b59ed
tree0341cc334a55f2ff8535db25d445284495625d87
parent7122b76de9ac87be45e8de1041d81d9ea0bf9e48
staging: comedi: refactor multiq3 driver and use module_comedi_driver

Move the struct comedi_driver to the end of the source. Convert
the driver to use the module_comedi_driver() macro which makes
the code smaller and a bit simpler.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/multiq3.c