staging: comedi: ni_mio_cs: use comedi_pcmcia_{enable, disable}
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 6 Feb 2013 01:16:28 +0000 (18:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 02:16:19 +0000 (18:16 -0800)
commit5cd8e852629fc7f1bdaacbdd32fe4139b9944f8b
tree791fe9bbd6abb5728996d6de3844a0734ef1eb4d
parenta3ac95195b020a0a8fa2a9b0649145324ba64c83
staging: comedi: ni_mio_cs: use comedi_pcmcia_{enable, disable}

Use the comedi_pcmcia_{enable,disable} helpers to enable/disable
the PCMCIA device.

This driver uses a local (*conf_check) to check the pcmcia_device
configuration.

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/drivers/ni_mio_cs.c