iio: Add broken out info_mask fields for shared_by_type and separate
authorJonathan Cameron <jic23@kernel.org>
Tue, 19 Feb 2013 21:10:30 +0000 (21:10 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 17 Mar 2013 19:49:09 +0000 (19:49 +0000)
commit8655cc490e83f66476de8c1294411860325c3531
tree2bb6ceece8cf1694264fb00a27e560b2c3fc6547
parent10f5b14811023df0ba1a936b14880eabb6d9c199
iio: Add broken out info_mask fields for shared_by_type and separate

This simplifies the code, removes an extensive layer of 'helper' macros
and gives us twice as much room to play with in these masks before we
have any need to be clever.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/industrialio-core.c
include/linux/iio/iio.h