iio:trigger: modify return value for iio_trigger_get
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 22 Aug 2014 20:48:00 +0000 (21:48 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 25 Aug 2014 20:47:22 +0000 (21:47 +0100)
commitf153566570fb9e32c2f59182883f4f66048788fb
tree3bc4f70c47177645728cf863ac6653a5a8f68423
parent872687f626e033b4ddfaec1e410057cfc6636d77
iio:trigger: modify return value for iio_trigger_get

Instead of a void function, return the trigger pointer.

Whilst not in of itself a fix, this makes the following set of
7 fixes cleaner than they would otherwise be.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Stable@vger.kernel.org
include/linux/iio/trigger.h