diff options
author | Irina Tirdea <irina.tirdea@intel.com> | 2015-04-13 18:41:01 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-06-14 17:59:28 +0300 |
commit | c0d901cce736cb628d2e15f07ae00ea1029f64df (patch) | |
tree | 2423b38805326992393eed63e73799553ab59b77 /drivers/iio/accel/mma9551_core.h | |
parent | 1ca0259b18478b2bab6d5c81ca1de52dd519ae5e (diff) | |
download | linux-c0d901cce736cb628d2e15f07ae00ea1029f64df.tar.xz |
iio: accel: mma9551_core: use size in words for word buffers
Change the prototype for the mma9551_read/write_*_words functions
to receive the length of the buffer in words (instead of bytes) since
we are using a word buffer. This will prevent users from sending an
odd number of bytes for a word array.
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/mma9551_core.h')
0 files changed, 0 insertions, 0 deletions