linux/drivers/staging/comedi
H Hartley Sweeten 6e891af85b staging: comedi: ni_daq_700: refactor the pcmcia attach/detach
Move the pcmcia_disable_device() call where needed in the
pcmcia attach/detach and delete the dio700_release() function.

Move the logic of dio700_config() directly into the attach
function and properly return an error code when the config
fails.

Only set the pcmcia_cur_dev, used by the comedi_driver, if
the pcmcia attach is successful. Also, make sure to NULL it
in the detach.

Remove all the kernel messages in the pcmcia support code. They
are just added noise.

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>
2012-06-22 20:55:10 -07:00
..
drivers staging: comedi: ni_daq_700: refactor the pcmcia attach/detach 2012-06-22 20:55:10 -07:00
kcomedilib Staging: comedi: kcomedilib: fix coding style issues in kcomedilib_main.c 2010-07-08 13:15:16 -07:00
Kconfig staging: comedi: Kconfig: remove redundant depends on tests 2012-06-20 13:02:49 -07:00
Makefile Staging: comedi: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:52 -07:00
TODO Staging: comedi: Remove typedefs 2010-06-17 13:49:07 -07:00
comedi.h staging: comedi: COMEDI_CB_EOA is also used to report end-of-output. 2012-04-18 16:37:06 -07:00
comedi_compat32.c staging: comedi: shrink comedi_compat32.h 2012-06-20 12:57:43 -07:00
comedi_compat32.h staging: comedi: shrink comedi_compat32.h 2012-06-20 12:57:43 -07:00
comedi_fops.c staging: comedi: remove comedi_fops.h 2012-06-20 12:56:55 -07:00
comedi_internal.h staging: comedi: remove comedi_fops.h 2012-06-20 12:56:55 -07:00
comedidev.h staging: comedi: remove CONFIG_COMEDI_PCI define 2012-06-20 13:00:42 -07:00
comedilib.h
drivers.c staging: comedi: remove comedi_fops.h 2012-06-20 12:56:55 -07:00
proc.c staging: comedi: remove comedi_fops.h 2012-06-20 12:56:55 -07:00
range.c staging: comedi: rename internal.h to comedi_internal.h 2012-06-20 12:56:54 -07:00