staging: comedi: cb_das16_cs: consolidate the init and exit functions
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 25 Jun 2012 22:20:13 +0000 (15:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 22:20:19 +0000 (15:20 -0700)
commit6f47503dcca489144384e09a6fa0848b46434fd0
treece8d21000bf1aab6fca5d46c2acb0086f22dc608
parent3bbb82c4b4150d4eb88bf3123bfb9ec51700730f
staging: comedi: cb_das16_cs: consolidate the init and exit functions

The register/unregister of the pcmcia driver is done is separate
functions that are called by the module_{init,exit} routines.
Simplify the code a bit by moving the register/unregister into
the module_{init,exit} routines.

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