staging:iio: pull out demux cleanup for a particular buffer.
authorJonathan Cameron <jic23@kernel.org>
Sat, 21 Apr 2012 09:09:45 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:23:38 +0000 (11:23 -0700)
commit842cd100441e8542e2b0859a898220ee32cd566e
treeb9257e4708e0e2c374365b71d094358a1212257e
parentfd6487f8439f7859acf17589f1d612285b5c0fa5
staging:iio: pull out demux cleanup for a particular buffer.

This will come in handy again when we move to multiple buffers
so lets pull it out into a little utility function now.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/industrialio-buffer.c