From: Lars-Peter Clausen Date: Mon, 9 Jul 2012 09:00:00 +0000 (+0100) Subject: staging:iio:ade7758: Use iio_validate_scan_mask_onehot X-Git-Tag: v3.6-rc1~100^2~297^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee0312a05ddceb0fc871f39b8f56b4cabc5176aa;p=pandora-kernel.git staging:iio:ade7758: Use iio_validate_scan_mask_onehot Only one of the channels of the ade7758 may be sampled at a time. Use the new validate_scan_mask callback and the iio_validate_scan_mask_onehot function to implement this restriction. Previously this was implemented using available_scan_masks, but this requires a individual scan mask for each channel. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed