diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-07-25 16:09:30 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-26 15:10:07 -0700 |
| commit | 7acf26edbcba808cb6447af893f30c63751938f8 (patch) | |
| tree | 0433cf852e85c1489f07b760a51c5b118bd939bc /scripts/patch-kernel | |
| parent | 1731a826cad3a71062b00c80abca4f887d57e501 (diff) | |
staging: comedi: usbdux: clarify bipolar ai data in usbduxsub_ai_isoc_irq()
Use the comedi_range_is_bipolar() helper instead of checking the
'range' index against a magic number.
Also, use the s->maxdata to calculate the value needed to munge the
value for bipolar data instead of the magic number.
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
