staging:iio: poll func allocation clean up.
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 18 May 2011 13:42:32 +0000 (14:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:15:04 +0000 (16:15 -0700)
Add a function to neatly deal with allocation of poll functions.
Ultimately this allows us to more easily change the implementation.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found