staging:iio:find iio channel from scan index util function
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 5 Dec 2011 21:37:10 +0000 (21:37 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 19:36:10 +0000 (11:36 -0800)
commit5fb21c824e8ff22ae9361a789e8b845d72ae0557
tree38f6d8285589fd6bbfd3576ef1d2a9ffc4bbcc40
parent94386ab0b4c5a4e15afae8542cb01caa2ff37594
staging:iio:find iio channel from scan index util function

Useful for getting to the channel based on scan mask alone.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/iio.h
drivers/staging/iio/industrialio-core.c