staging:iio: Make sure all triggers have a trigger_ops for the owner field.
authorJonathan Cameron <jic23@kernel.org>
Wed, 14 Dec 2011 20:49:30 +0000 (20:49 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Dec 2011 18:56:25 +0000 (10:56 -0800)
commit8324e860770b1defa73d8f52244211bb9f0ed2f8
treed16794f67f0a2e73d5c5db791b127c0020675992
parent617156fb71dd95574194ea022c0b076afd1b27ca
staging:iio: Make sure all triggers have a trigger_ops for the owner field.

The core needs the owner field to prevent module removal whilst in use and
uses it without confirming that the trigger_ops structure actually exists.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad7192.c
drivers/staging/iio/adc/ad7793.c