iio: buffer: Move iio_buffer_alloc_sysfs and iio_buffer_free_sysfs
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 26 Nov 2014 17:55:14 +0000 (18:55 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 12 Dec 2014 12:28:32 +0000 (12:28 +0000)
commitd967cb6bd4e79c0cd7b150f1382d3d04e00408a0
treef136233f589a1784b8ee3b91c20ffd71862c1ee7
parent616dde2a1ea3df9398b1fcc7d6d6516c5fab6183
iio: buffer: Move iio_buffer_alloc_sysfs and iio_buffer_free_sysfs

The next patch will introduce new dependencies in iio_buffer_alloc_sysfs()
to functions which are currently defined after iio_buffer_alloc_sysfs(). To
avoid forward declarations move both iio_buffer_alloc_sysfs() and
iio_buffer_free_sysfs() after those function.

This is split into two patches one moving the functions and one adding the
dependencies to make review of the actual changes easier.

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