iio: Move callback buffer to its own module
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 14 Aug 2015 14:54:54 +0000 (16:54 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 15 Aug 2015 13:50:30 +0000 (14:50 +0100)
commit050ee2f16e245b42c9ba30640bb91b309b424c48
tree402ab434d8e6f028c4269ce5b2a47ec8ba9382d7
parent47d5e30ae38ba81600bd2c3292b39d31792470c7
iio: Move callback buffer to its own module

Currently the IIO callback buffer implementation is directly built into the
IIO core module when enabled. Given that the callback buffer module is
standalone functionallity there is really no reason to do this. So move it
to its own module.

Also rename the source to follow the standard IIO module naming convention
as well as add a license notice to the file.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/buffer_cb.c [deleted file]
drivers/iio/industrialio-buffer-cb.c [new file with mode: 0644]