]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit739c04edc6dc4a9a151be82612dfbfaa9c26d7c0
treece8d21000bf1aab6fca5d46c2acb0086f22dc608
parentdbb77124aaed10ed6c080d498b43e824d49884df
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