From: H Hartley Sweeten Date: Tue, 29 Apr 2014 18:08:41 +0000 (-0700) Subject: staging: comedi: adv_pci1710: always enable PCI171x_PARANOIDCHECK code X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1078 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16c7eb6047bb;p=pandora-kernel.git staging: comedi: adv_pci1710: always enable PCI171x_PARANOIDCHECK code This define enables code that checks for analog input channel dropout when reading samples. The define is enabled so we might as well always enable the code and remove the define. Factor out the common channel dropout detect code as a helper function and cleanup the code. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed