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)
commit21b185f8d5951ebbf76d61f431fb541dce5113d1
treec9337b56b2835849657da639d6ed64bad4a339fe
parente3796e6bbba213ba2aad7212de0bdae2833ac45e
staging:iio: poll func allocation clean up.

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>
drivers/staging/iio/accel/adis16201_ring.c
drivers/staging/iio/accel/adis16203_ring.c
drivers/staging/iio/accel/adis16204_ring.c
drivers/staging/iio/accel/adis16209_ring.c
drivers/staging/iio/accel/adis16240_ring.c
drivers/staging/iio/imu/adis16400_ring.c
drivers/staging/iio/industrialio-trigger.c
drivers/staging/iio/trigger.h