From: H Hartley Sweeten Date: Wed, 30 Jan 2013 23:43:48 +0000 (-0700) Subject: staging: comedi: ni_daq_dio24: cleanup pcmcia probe/remove X-Git-Tag: v3.9-rc1~127^2~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c5b441de2caf7e12c5a3e6caf7ae536f2adc2f;p=pandora-kernel.git staging: comedi: ni_daq_dio24: cleanup pcmcia probe/remove Absorb the code from dio24_config() into the probe function, dio24_cs_attach() and properly return the error code when the probe fails. This also gets rid of an unnecessary forward declaration. For aesthetic reasons, move the remove functio, dio24_cs_detach(), so it's after the probe function. Remove a number of dev_{level} noise messages in the probe/remove functions. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed