staging: comedi: das08_cs: consolidate the init and exit functions
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 2 Jul 2012 22:43:19 +0000 (15:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 22:51:18 +0000 (15:51 -0700)
commit468777024e3f635c78cc7b0370f447978669431d
treea3981c045271fb6121f407582bd71fb7c0c2e059
parent3a36ad17c6709efb353f25f3b57b2443acb6bcd7
staging: comedi: das08_cs: consolidate the init and exit functions

The register/unregister of the pcmcia driver is done in 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08_cs.c