staging: iio: industrialio-trigger: set iio_poll_func private_data
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 25 May 2011 12:42:07 +0000 (14:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:28:41 +0000 (12:28 -0700)
commitc11c4eebdd75fc0f443a3f794a2ddc85afed1932
treeb9014a00036079371ecc36acad836047c6efed2f
parentcddac88f437b0370d3c0ac4c0b2d6c1ff914522d
staging: iio: industrialio-trigger: set iio_poll_func private_data

Failure to set iio_poll_func private_data, causes zero pointer access
violations in all consumer trigger handlers.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/industrialio-trigger.c