commit | 065b09127057fa728c9290d62c2a2e1c4925132b | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Jul 24 10:00:45 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 25 13:20:17 2013 -0700 |
tree | 3ac8b5abea8f978e269793df3578835de5b0d5a0 | |
parent | eee7d9e9ef711abda2482af2d6b15d76e34b8db5 [diff] |
staging: comedi: range: tidy up comedi_check_chanlist() The only difference in the if() and else if() check of the chanlist is the source of the range table length. Consolidate the checks to make the function a bit more concise. 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>