H Hartley Sweeten
43358ed094
staging: comedi: cb_pcidas64: checkpatch.pl cleanup (missing blank line)
...
Fix this checkpatch.pl warning:
WARNING: Missing a blank line after declarations
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 >
2014-07-16 13:37:18 -07:00
H Hartley Sweeten
0a9e58d6e6
staging: comedi: amplc_pci230: checkpatch.pl cleanup (void function return)
...
Fix the checkpatch.pl warning in this file:
WARNING: void function return statements are not generally useful
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 >
2014-07-16 13:37:18 -07:00
H Hartley Sweeten
ec05d98cec
staging: comedi: amplc_pc236: checkpatch.pl cleanup (missing blank line)
...
Fix this checkpatch.pl warning:
WARNING: Missing a blank line after declarations
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 >
2014-07-16 13:37:18 -07:00
H Hartley Sweeten
c6d94c74a3
staging: comedi: adv_pci1723: checkpatch.pl cleanup (missing blank line)
...
Fix this checkpatch.pl warning:
WARNING: Missing a blank line after declarations
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 >
2014-07-16 13:37:18 -07:00
H Hartley Sweeten
214c043fc7
staging: comedi: 8253.h: checkpatch.pl cleanup (void function return)
...
Fix the checkpatch.pl warning in this file:
WARNING: void function return statements are not generally useful
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 >
2014-07-16 13:37:18 -07:00
Sam Asadi
2cbc7a3fba
Staging: adl_pci9118: a language issue fixed
...
For better use of English, 'mixtured' which is not right, replaced
by 'mixed'.
Signed-off-by: Sam Asadi <asadi.samuel@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-16 13:35:43 -07:00
H Hartley Sweeten
3176b5e95e
staging: comedi: mite.h: tidy up mite_csigr_wpdep()
...
Refactor this inline function to fix the checkpatch.pl warnings:
WARNING: Missing a blank line after declarations
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:24 -07:00
H Hartley Sweeten
1ba7577469
staging: comedi: ni_tio_internal.c: checkpatch.pl cleanup (break is not useful)
...
Fix the checkpatch.pl warning:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:24 -07:00
H Hartley Sweeten
a8b6c4f5a8
staging: comedi: das08: checkpatch.pl cleanup (break is not useful)
...
Fix the checkpatch.pl warning:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:24 -07:00
H Hartley Sweeten
d88e3da90f
staging: comedi: ni_labpc: checkpatch.pl cleanup (else is not useful)
...
Fix the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
1c6820bc16
staging: comedi: ni_tiocmd: checkpatch.pl cleanup (break is not useful)
...
Fix the checkpatch.pl warning:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
89660697cb
staging: comedi: ni_tio: checkpatch.pl cleanup (else is not useful)
...
Fix the checkpatch.pl warnings:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
9bad91337c
staging: comedi: ni_tio: checkpatch.pl cleanup (break is not useful)
...
Fix the checkpatch.pl warnings:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
182157e1e5
staging: comedi: usbduxsigma: checkpatch.pl cleanup (else not useful)
...
Fix the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
ce1d67ac3f
staging: comedi: usbdux: checkpatch.pl cleanup (else not useful)
...
Fix the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
0953ee4acc
staging: comedi: ni_mio_common: checkpatch.pl cleanup (else not useful)
...
Fix the checkpatch.pl warnings:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
959409613d
staging: comedi: ni_mio_common: checkpatch.pl cleanup (break not useful)
...
Fix the checkpatch.pl warning:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
193725ba3f
staging: comedi: s626: checkpatch.pl cleanup (else not useful)
...
Fix the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
f9558b49dc
staging: comedi: ni_660x: checkpatch.pl cleanup (else not useful)
...
Fix the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:23 -07:00
H Hartley Sweeten
eb8051d73c
staging: comedi: ni_660x: checkpatch.pl cleanup (break not useful)
...
Fix the checkpatch.pl warnings:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
57ec1abf4d
staging: comedi: cb_pcidas: checkpatch.pl cleanup (break not useful)
...
Fix the checkpatch.pl warnings:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
f105167681
staging: comedi: cb_pcidas64: checkpatch.pl cleanup (break not useful)
...
Fix the checkpatch.pl warnings:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
ee99bcc75d
staging: comedi: s526: checkpatch.pl cleanup (break not useful)
...
Fix the checkpatch.pl warning:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
1c404be2b3
staging: comedi: ni_at_a2150: checkpatch.pl cleanup (break not useful)
...
Fix the checkpatch.pl warning:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
f8d1712954
staging: comedi: das1800: checkpatch.pl cleanup (break not useful)
...
Fix the checkpatch.pl warnings:
WARNING: break is not useful after a goto or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
eeb3b4f9ad
staging: comedi: pcl724: checkpatch.pl cleanup (else after return)
...
Fix the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
aa2998450b
staging: comedi: dt282x: checkpatch.pl cleanup (else after return)
...
Fix checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
02efdb3bb0
staging: comedi: daqboard2000: checkpatch.pl cleanup (else after return)
...
Fix these checkpatch.pl warnings:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
4ffeead332
staging: comedi: cb_pcidas64: checkpatch.pl cleanup (else after return)
...
Fix these checkpatch.pl warnings:
WARNING: else is not generally useful after a break or return
Also, remove an unnecessary trailing ';' at the end of a function.
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
34880ec799
staging: comedi: amplc_pci224: checkpatch.pl cleanup (else after return)
...
Fix this checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:22 -07:00
H Hartley Sweeten
c3ba2678d0
staging: comedi: amplc_pc236: checkpatch.pl cleanup (else after return)
...
Fix these checkpatch.pl warnings:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:21 -07:00
H Hartley Sweeten
18a8e8c538
staging: comedi: amplc_dio200_common: checkpatch.pl cleanup (else after return)
...
Fix these checkpatch.pl warnings:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:21 -07:00
H Hartley Sweeten
9ed221faae
staging: comedi: addi_apci_3xxx: checkpatch.pl cleanup (else after return)
...
Fix the checkpatch.pl warning in this file:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:21 -07:00
H Hartley Sweeten
8ed43d77b3
staging: comedi: 8255: checkpatch.pl cleanup (else after return)
...
Fix the checkpatch.pl warning in this file:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:21 -07:00
H Hartley Sweeten
c2c99c7fdc
staging: comedi: 8255_pci: checkpatch.pl cleanup (else after return)
...
Fix the checkpatch.pl warning in this file:
WARNING: else is not generally useful after a break or return
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 >
2014-07-16 13:34:19 -07:00
Sam Asadi
08aa75496f
Staging: comedi: adl_pci9118: fractured spelling fixed
...
a fractured spelling in previous style issue fix mended.
Signed-off-by: Sam Asadi <asadi.samuel@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-16 13:31:29 -07:00
Sam Asadi
b86bc99054
Staging: comedi: adl_pci9118: a style issue fixed
...
'quoted string split across lines' warning in checkpatching fixed
by group whole string in one line.
Signed-off-by: Sam Asadi <asadi.samuel@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-16 13:31:29 -07:00
Igor Bezukh
f9dc1a8a70
Staging: vt6655: fix missing blank line after variable declaration
...
Checkpatch fix - Add missing blank line after variable declaration
Signed-off-by: Igor Bezukh <igbzkh@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-16 13:30:32 -07:00
Peter Senna Tschudin
d9cf2f9e15
staging: vt6556: Replace printk by dev_warn
...
This patch fixes a checkpatch warning by replacing printk
by dev_warn. Tested by compilation only.
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-16 13:30:32 -07:00
Peter Senna Tschudin
879be45aea
staging: vt6556: Remove typedefs
...
This patch removes uneeded typedefs reported by chackpatch and removes
one enum that is not in use. As checkpatch complained about the typedef
and the enum is not being used, this patch removes both typedef and enum.
The removed enum from card.h:
typedef enum _CARD_PHY_TYPE {
PHY_TYPE_AUTO = 0,
PHY_TYPE_11B,
PHY_TYPE_11G,
PHY_TYPE_11A
} CARD_PHY_TYPE, *PCARD_PHY_TYPE;
The following typedefs were removed, but enums were kept at device.h:
typedef enum __device_msg_level
typedef enum __DEVICE_NDIS_STATUS
Tested by compilation only.
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-16 13:30:32 -07:00
Vincent Bernat
91d421945b
staging: xillybus: fix some coding style errors
...
This includes:
- keep "else" on the same line as the closing brace
- don't use "else" after "return"
- don't issue a message for an out-of-memory error
- blank line after a declaration
Signed-off-by: Vincent Bernat <vincent@bernat.im >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-16 13:27:06 -07:00
H Hartley Sweeten
4168ac9db7
staging: comedi: ni_mio_common: tidy up the frequency output subdevice init
...
For aesthetics, add some whitespace to the subdevice init.
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 >
2014-07-16 13:24:44 -07:00
H Hartley Sweeten
c607b3317e
staging: comedi: ni_mio_common: tidy up the gpct counter subdevice init
...
For aesthetics, add some whitespace to the subdevice init and
tidy it up a bit.
Unfortunately we can't get rid of the '#ifdef PCIDMA' here yet due
to other ifdefery in this file. For now just add the correct test
so that the async command support is not hooked up unless we have
an IRQ and DMA.
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 >
2014-07-16 13:24:44 -07:00
H Hartley Sweeten
43f2c8b7de
staging: comedi: ni_mio_common: tidy up the PFI subdevice init
...
For aesthetics, add some whitespace to the subdevice init and
tidy it up a bit.
Remove the need for the extra local variable.
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 >
2014-07-16 13:24:44 -07:00
H Hartley Sweeten
433c79f92e
staging: comedi: ni_mio_common: tidy up the EEPROM subdevice init
...
For aesthetics, add some whitespace to the subdevice init.
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 >
2014-07-16 13:24:44 -07:00
H Hartley Sweeten
cb42950615
staging: comedi: ni_mio_common: tidy up the calibration subdevice init
...
For aesthetics, add some whitespace to the subdevice init.
Refactor the code so that the common parts of the subdevice are initialized
in one place.
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 >
2014-07-16 13:24:43 -07:00
H Hartley Sweeten
eeca0caa84
staging: comedi: ni_mio_common: only reset the ai/ao subdevices if they exist
...
So of the boards supported by this driver do not have analog inputs and
some don't have analog outputs. Move the calls that reset these subdevices
during the (*attach) by ni_E_init() so they only happen if the subdevices
are present.
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 >
2014-07-16 13:24:43 -07:00
H Hartley Sweeten
caedecfa3a
staging: comedi: ni_mio_common: init clock dividers early in ni_E_init()
...
The init/reset of the hardware is a bit scattered in this function. For
aesthetics, move the init of the clock dividers so it happens early and
tidy up the code a bit.
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 >
2014-07-16 13:24:43 -07:00
H Hartley Sweeten
2d4ecc38b9
staging: comedi: ni_mio_common: tidy up the Digital I/O subdevice init
...
For aesthetics, add some whitespace to the Digital I/O subdevice init.
Only hook up the async command support if we have an irq.
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 >
2014-07-16 13:24:43 -07:00
H Hartley Sweeten
0615c162f6
staging: comedi: ni_mio_common: refactor 'num_p0_dio_channels' boardinfo
...
All of the board supported by this driver have at least 8 Digital I/O
channels. A couple of the PCI boards in ni_pcimio have 32 channels.
For aesthetics, change this member of the boardinfo into a bit-field
flag, 'has_32dio_chan', and use that when initializing the DIO subdevice
to set the number of channels to 32 or 8.
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 >
2014-07-16 13:24:43 -07:00