]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8ba48f336459e613320dd99d48af9ed4e487bdd
tree2bb6ceece8cf1694264fb00a27e560b2c3fc6547
parent746c879388aed36301a9d7b919c99d287db552c7
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