staging:iio:triggers Remove unecessary existence checks and return val
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 26 Oct 2011 16:27:38 +0000 (17:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 00:30:30 +0000 (16:30 -0800)
commit67be8e32c9f98453faeb9a992a47bd5910c9fb2e
tree1e29321186c4b4416695587d6bb031711ff52a3e
parent22dc09cafda0d9b31e8f07539535582fb343baf8
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>
drivers/staging/iio/iio_core_trigger.h
drivers/staging/iio/industrialio-trigger.c
This page took 0.026479 seconds and 5 git commands to generate.