commit | 67be8e32c9f98453faeb9a992a47bd5910c9fb2e | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Wed Oct 26 17:27:38 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sat Nov 26 16:30:30 2011 -0800 |
tree | 1e29321186c4b4416695587d6bb031711ff52a3e | |
parent | 22dc09cafda0d9b31e8f07539535582fb343baf8 [diff] |
staging:iio:triggers Remove unecessary existence checks and return val Postenable and predisable are called via buffer->ops so don't need to check if buffer exists. The return value of iio_device_register_trigger_consumer is always zero and it isn't checked anyway so get rid of it. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>