commit | 4916211615e21b1ae80632e57b6e0c8434b126fe | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Sep 25 15:35:06 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 26 09:32:18 2013 -0700 |
tree | f3f969bc297e64728c683206f54c3bc0cc6e29bc | |
parent | 5cb404d9272430e8a19c5d767885c63c6f1bfd17 [diff] |
staging: comedi: core: introduce comedi_chan_range_is_{bi,uni}polar() Introduce two helper functions to check if a subdevice range_table_list for a given channel/range is bipolar or unipolar. 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>