iio: Remove get_bytes_per_datum() from iio_buffer_access_funcs
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 26 Nov 2014 17:55:13 +0000 (18:55 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 12 Dec 2014 12:28:32 +0000 (12:28 +0000)
commit616dde2a1ea3df9398b1fcc7d6d6516c5fab6183
tree3200d3c1a6e2fae19393c9e633e6f51fe01d5633
parent3e1b6c95b990c93f4aa3b17e9f66221e2fa44bee
iio: Remove get_bytes_per_datum() from iio_buffer_access_funcs

There haven't been any users of the get_bytes_per_datum() callback for a
while. The core assumes that the number of bytes per datum can be calculated
based on the enabled channels and the storage size of the channel and
iio_compute_scan_bytes() is used to compute this number. So remove the
callback.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/kfifo_buf.c
drivers/staging/iio/Documentation/ring.txt
drivers/staging/iio/accel/sca3000_ring.c
include/linux/iio/buffer.h