From: H Hartley Sweeten Date: Wed, 5 Aug 2015 17:44:57 +0000 (-0700) Subject: staging: comedi: me4000: use comedi_range_is_bipolar() in ai (*insn_read) X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e978426116ba68069b8dd1a6492ec8a958f27218;p=pandora-kernel.git staging: comedi: me4000: use comedi_range_is_bipolar() in ai (*insn_read) Use the helper function to check the range type instead of relying on the value. For aesthetics, rename the local variable used for the range. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed