]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_daq_700: consolidate the init and exit functions
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 22 Jun 2012 23:14:30 +0000 (16:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 03:55:04 +0000 (20:55 -0700)
commit5fe9b247cc5dd6d39d9252fc0b51700e438a65fd
tree64cf1c2f7a6c64ab11a1013649fc9915420997da
parent113f7021497e5203dec3fba05294a6f184852db9
staging: comedi: ni_daq_700: 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/ni_daq_700.c