]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ffd78b7c618b22ba251ff704e3c6e8a62ef083f
treef8cb9692a7d2369323d0b81c64d032242142c888
parent4ca0bcdf2773628cc2162684ad82c63c07dceba8
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