iio: add info_mask_[shared_by_dir/shared_by_all]
authorJonathan Cameron <jic23@kernel.org>
Sun, 8 Sep 2013 13:57:00 +0000 (14:57 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 15 Sep 2013 16:45:49 +0000 (17:45 +0100)
commitc006ec838414d910bdd63ba8d919e602425e194e
treec288247b0237759d7ef4d11caf675a180413de96
parent3704432fb1fd8ab2df114bad6df752381246b609
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>
drivers/iio/industrialio-core.c
include/linux/iio/iio.h