commit | 43d092c67740704c9a8d04da2ca070bfca34207a | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Mar 26 10:26:38 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 26 16:14:51 2013 -0700 |
tree | c0f44ef22d70e56357719cd434c8ca3f4576e84d | |
parent | e7a1aa62823d8cc861aaad078006e6742c114a0e [diff] |
staging: comedi: ni_labpc: simplify labpc_range_is_unipolar() As Ian Abbott pointed out, this helper function can be simplified by just checking if the 'min' value is >= 0. 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>