From: H Hartley Sweeten Date: Wed, 5 Jun 2013 22:52:31 +0000 (-0700) Subject: staging: comedi: introduce comedi_range_is_{bi,uni}polar() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~237 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3693fd3baeddf2e96b2f7734a5fe5509acedb40;p=pandora-kernel.git staging: comedi: introduce comedi_range_is_{bi,uni}polar() Introduce some helper functions to check if a given 'range' index to a comedi_subdevice 'range_table' is a bipolar or unipolar range. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed