commit | 64c205f99790798fdcf42ea5093df1393a867e30 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Mon Jun 25 15:20:53 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jun 26 15:20:19 2012 -0700 |
tree | 2f81b62c501f97535cc4bb48d23649d41e800c25 | |
parent | 6f47503dcca489144384e09a6fa0848b46434fd0 [diff] |
staging: comedi: cb_das13_cs: 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>