From: Lars-Peter Clausen Date: Wed, 26 Nov 2014 17:55:13 +0000 (+0100) Subject: iio: Remove get_bytes_per_datum() from iio_buffer_access_funcs X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~245^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=616dde2a1ea3df9398b1fcc7d6d6516c5fab6183;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed