]> git.baikalelectronics.ru Git - kernel.git/commit
iio:buffer.h - split into buffer.h and buffer_impl.h
authorJonathan Cameron <jic23@kernel.org>
Mon, 2 Jan 2017 19:28:34 +0000 (19:28 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 10 Jan 2017 19:54:55 +0000 (19:54 +0000)
commit5220a3f01000fe1aaf74f578a83954868ac35c9b
tree5299d25ffba474a4b8f7ccbfca1e32ae26ee26c5
parent21e429da2203529e5c639dae6b6b19464f564c6d
iio:buffer.h - split into buffer.h and buffer_impl.h

buffer.h supplies everything needed for devices using buffers.
buffer_impl.h supplies access to the internals as needed to write
a buffer implementation.

This was really motivated by the mess that turned up in the
kernel-doc documentation pulled in by the new sphinx docs.
It made it clear that our logical separations in headers were
generally terrible.  The buffer case was easy to sort out without
greatly effecting drivers so here it is.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/buffer/industrialio-buffer-cb.c
drivers/iio/buffer/kfifo_buf.c
drivers/iio/industrialio-buffer.c
drivers/iio/industrialio-core.c
include/linux/iio/buffer.h
include/linux/iio/buffer_impl.h [new file with mode: 0644]