aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/mma9551_core.h
diff options
context:
space:
mode:
authorIrina Tirdea <irina.tirdea@intel.com>2015-04-13 18:41:01 +0300
committerJonathan Cameron <jic23@kernel.org>2015-06-14 15:59:28 +0100
commitc0d901cce736cb628d2e15f07ae00ea1029f64df (patch)
tree2423b38805326992393eed63e73799553ab59b77 /drivers/iio/accel/mma9551_core.h
parentiio: light: hid-sensor-prox: Fit assignment in one line (diff)
downloadlinux-dev-c0d901cce736cb628d2e15f07ae00ea1029f64df.tar.xz
linux-dev-c0d901cce736cb628d2e15f07ae00ea1029f64df.zip
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