staging: comedi: addi_apci_1516: cleanup the s->subdev_flags
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 13 Nov 2012 20:45:39 +0000 (13:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 23:12:54 +0000 (15:12 -0800)
commit42e07ce63e181c9a6bd7166f55c5dbb9a984a776
treea833d8fc571493f53c699ed55a61b08d7e4d5b4f
parent5aaa8bc35b4fc9cb720cf31ce7bd23ac7c1803f7
staging: comedi: addi_apci_1516: cleanup the s->subdev_flags

The flags SDF_GROUND and SDF_COMMON only have meaning for analog
input/output subdevices. Remove these flags from the digital
input/output and timer subdevices in this driver.

The digital output subdevice does not need the SDF_READABLE flags.
Remove it.

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/addi_apci_1516.c