staging:iio: add generic data ready poll function.

This case is extremely common, so let us only have the one
copy.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Jonathan Cameron 2011-05-18 14:41:21 +01:00 • committed by Greg Kroah-Hartman
commit 8384d9573e
2 changed files with 9 additions and 0 deletions