commit | c006ec838414d910bdd63ba8d919e602425e194e | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@kernel.org> | Sun Sep 08 14:57:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Sep 15 17:45:49 2013 +0100 |
tree | c288247b0237759d7ef4d11caf675a180413de96 | |
parent | 3704432fb1fd8ab2df114bad6df752381246b609 [diff] |
iio: add info_mask_[shared_by_dir/shared_by_all] These two additional info_mask bitmaps should allow all 'standard' numeric attributes to be handled using the read_raw and write_raw callbacks. Whilst this should reduce code, the more important element is that this makes these values easily accessible to in kernel users of IIO devices. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>