iio:buffer: Introduced a function to assign the buffer specific attrs.
authorJonathan Cameron <jic23@kernel.org>
Mon, 2 Jan 2017 19:28:26 +0000 (19:28 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 10 Jan 2017 19:54:50 +0000 (19:54 +0000)
commit9f4667776c138df33c4107fcd8811aa9cb6cdcbe
tree3e2222a63f31ff57116c3266f8c4ece5f744beea
parent263cf5e6577a779cc3311c5290325ef3917de2ea
iio:buffer: Introduced a function to assign the buffer specific attrs.

This is a necessary step in taking the buffer implementation
opaque.

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