From: H Hartley Sweeten Date: Fri, 22 Jun 2012 23:15:16 +0000 (-0700) Subject: staging: comedi: ni_daq_700: change driver registration order X-Git-Tag: v3.6-rc1~100^2~632 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f90398294753b3f88570af1c2a68032f6ae6bfbe;p=pandora-kernel.git 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 Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed