staging:iio: trigger fixes for repeat request of same trigger and allocation failure
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 26 Oct 2011 16:27:41 +0000 (17:27 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 22 Aug 2016 21:37:14 +0000 (22:37 +0100)
commit 5dd72ecb0166498852705939163f375d693d37f3 upstream.

Both of these are decidedly silly bugs show up whilst testing
completely different code paths.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/iio/industrialio-trigger.c