From: Lars-Peter Clausen Date: Tue, 4 Nov 2014 17:03:15 +0000 (+0100) Subject: staging:iio:ade7758: Fix check if channels are enabled in prenable X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~142^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79fa64eb2ee8ccb4bcad7f54caa2699730b10b22;p=pandora-kernel.git staging:iio:ade7758: Fix check if channels are enabled in prenable We should check if a channel is enabled, not if no channels are enabled. Fixes: 550268ca1111 ("staging:iio: scrap scan_count and ensure all drivers use active_scan_mask") Signed-off-by: Lars-Peter Clausen Cc: Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed