diff options
| author | H Hartley Sweeten <[email protected]> | 2012-06-26 10:08:52 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-06-26 15:36:10 -0700 |
| commit | e8abca1f30239f6c979f60df49305a602672cb94 (patch) | |
| tree | b9075fd967b33a249ee24883ba211da8bc3dbd6b /tools/perf/scripts/python | |
| parent | cd1a76fb6fbd477689ca2d0fdf7db7171c35e5d8 (diff) | |
staging: comedi: cb_das16_cs: remove unneeded default case in analog in read
The default (return -EINVAL) case is not needed when working
out the correct value to set the analog input range. As pointed
out by Ian Abbott, the comedi core checks the range in
comedi_check_chanlist() before calling the insn_read() function.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reported-by: Ian Abbott <[email protected]>
Cc: Frank Mori Hess <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions