commit | c0d901cce736cb628d2e15f07ae00ea1029f64df | [log] [tgz] |
---|---|---|
author | Irina Tirdea <irina.tirdea@intel.com> | Mon Apr 13 18:41:01 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jun 14 15:59:28 2015 +0100 |
tree | 2423b38805326992393eed63e73799553ab59b77 | |
parent | 1ca0259b18478b2bab6d5c81ca1de52dd519ae5e [diff] |
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>