staging: comedi: comedi_pcmcia: introduce comedi_pcmcia_{enable, disable}
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 4 Feb 2013 21:19:35 +0000 (14:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 22:47:18 +0000 (14:47 -0800)
commitddb2d0a0185583b268dfe0a32e2f70ee2f118bd0
treee7b91821c9fb8156726baa77df3d70496d5f209b
parente44adfdb6740f5673612a3060b8d3120ccafd5d1
staging: comedi: comedi_pcmcia: introduce comedi_pcmcia_{enable, disable}

Introduce some helper functions to enable/disable the PCMCIA device.
This will allow removing some of the boilerplate code in the comedi
PCMCIA drivers.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_pcmcia.c
drivers/staging/comedi/comedidev.h