diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-06-13 03:13:39 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-18 01:33:41 +0400 |
| commit | ca1cc85b0ea5d1c9de91ffebf4d5272bb5a61dee (patch) | |
| tree | 031de8c99322270b07de2f5ff19a88136c529788 /tools/perf/scripts/python | |
| parent | f1861cb0d29cdc0a28fba02a4d84918118a5ea4e (diff) | |
| download | linux-ca1cc85b0ea5d1c9de91ffebf4d5272bb5a61dee.tar.xz | |
staging: comedi: addi_apci_3xxx: tidy up the digital in and out subdevice init
For aesthetic reasons, add some whitespace to the initialization of the
digital input and output subdevices.
Fix the subdev_flags for both subdevices. The SDF_GROUND and SDF_COMMON
flags only apply to analog subdevices. Digital output subdevices do not
need the SDF_READABLE flag set.
Remove the initialization of s->io_bits. It only has meaning for
COMEDI_SUBD_DIO subdevices.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
