diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-07-09 13:00:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-07-09 21:18:16 +0400 |
commit | ee0312a05ddceb0fc871f39b8f56b4cabc5176aa (patch) | |
tree | ecee0e100f006c8b8bb011e7beb90aa250f9180d /scripts/Makefile.modinst | |
parent | 8c2c6ba6aa8f187b465fab13627566311a0c03fb (diff) | |
download | linux-ee0312a05ddceb0fc871f39b8f56b4cabc5176aa.tar.xz |
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 <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.modinst')
0 files changed, 0 insertions, 0 deletions