]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: addi_apci_2032: cleanup the s->subdev_flags
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 30 Nov 2012 01:18:35 +0000 (18:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Nov 2012 02:05:30 +0000 (18:05 -0800)
commit61034e002d8ad10d2265d33168d1dc721375869f
tree0f97a34e225da687e7d05b29f8893ac59ae1e4ae
parentc0c3c7dfc1fd5c970b9893e68796314e8551124f
staging: comedi: addi_apci_2032: 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
output and timer subdevices in this driver.

The digital output subdevice does not need the SDF_READABLE flag.
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_2032.c