iio:buffer: Push implementation of iio_device_attach_buffer into .c file
authorJonathan Cameron <jic23@kernel.org>
Mon, 2 Jan 2017 19:28:32 +0000 (19:28 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 10 Jan 2017 19:54:54 +0000 (19:54 +0000)
commit2b827ad54111439b919605da90e122ecda88bad6
tree2032805699057846a7823fcc890a84e69f3ccb31
parent19a5a8a5dceeaea03aac6883541b4ec9ed42a833
iio:buffer: Push implementation of iio_device_attach_buffer into .c file

This is a precursor to the splitting of buffer.h into parts relevant
to buffer implementation vs those for devices using buffers.
struct buffer is about to become opaque as far as the header is
concerned.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/industrialio-buffer.c
include/linux/iio/buffer.h