diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-26 18:55:13 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-12 13:28:32 +0100 |
commit | 616dde2a1ea3df9398b1fcc7d6d6516c5fab6183 (patch) | |
tree | 3200d3c1a6e2fae19393c9e633e6f51fe01d5633 /drivers/iio/industrialio-buffer.c | |
parent | iio: Move buffer registration to the core (diff) | |
download | linux-616dde2a1ea3df9398b1fcc7d6d6516c5fab6183.tar.xz linux-616dde2a1ea3df9398b1fcc7d6d6516c5fab6183.zip |
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>
Diffstat (limited to 'drivers/iio/industrialio-buffer.c')
0 files changed, 0 insertions, 0 deletions