commit | f90398294753b3f88570af1c2a68032f6ae6bfbe | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Fri Jun 22 16:15:16 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 22 20:55:04 2012 -0700 |
tree | ccc3294c92102c806afcf2bd6a37bb697c2f81be | |
parent | 5fe9b247cc5dd6d39d9252fc0b51700e438a65fd [diff] |
staging: comedi: ni_daq_700: change driver registration order As done with the other comedi driver types, register the comedi_driver first then the pcmcia_driver. Also, make sure the pcmcia_driver registration succeeds and unregister the comedi_driver it it fails. 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>