From: H Hartley Sweeten Date: Tue, 26 Mar 2013 17:26:38 +0000 (-0700) Subject: staging: comedi: ni_labpc: simplify labpc_range_is_unipolar() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~420 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43d092c67740704c9a8d04da2ca070bfca34207a;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed