staging: comedi: ni_daq_dio24: use comedi_pcmcia_{enable,disable}
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 6 Feb 2013 01:15:20 +0000 (18:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2013 02:16:19 +0000 (18:16 -0800)
commit573a964882065f9b2cb71db8a225ba067b4b5b7a
treef8cb9692a7d2369323d0b81c64d032242142c888
parent66dbc7b1b00499285793143b44b979e26141204d
staging: comedi: ni_daq_dio24: use comedi_pcmcia_{enable,disable}

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

This driver does not use interrupts and is not an audio device, remove
CONF_ENABLE_IRQ and CONF_AUTO_AUDIO from the link->config_flags.

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_daq_dio24.c