Home
last modified time | relevance | path

Searched hist:"705 ee2c98a37130fd0aa914dc55b74a9174a6ff0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/
H A Dindustrialio-buffer.cdiff 705ee2c98a37130fd0aa914dc55b74a9174a6ff0 Sun Sep 15 10:31:00 CDT 2013 Lars-Peter Clausen <lars@metafoo.de> iio:buffer: Simplify iio_buffer_is_active()

We can skip having to loop through all the device's buffers to see if a certain
buffer is active, if we let the buffer's list head point to itself when the
buffer is inactive.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>