summaryrefslogtreecommitdiffstats
path: root/drivers/vme
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-07-09 11:00:00 +0200
committerJonathan Cameron <jic23@kernel.org>2012-07-09 19:18:15 +0200
commit81636632057cc1bece2531220dd5803036f95ea9 (patch)
tree6c1d73dbc88d32e49a2c5b44423a972a9b8da0c0 /drivers/vme
parentiio: Add callback to check whether a scan mask is valid (diff)
downloadlinux-81636632057cc1bece2531220dd5803036f95ea9.tar.xz
linux-81636632057cc1bece2531220dd5803036f95ea9.zip
iio: Introduce iio_validate_scan_mask_onehot
Add a helper function for validating a scan mask for devices where exactly one channel must be selected during sampling. This is a common case among devices which have scan mask restrictions so it makes sense to provide this function in the core. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions