staging:iio: hid-sensors Use iio_push_to_buffer
authorJonathan Cameron <jic23@kernel.org>
Thu, 6 Sep 2012 21:12:53 +0000 (22:12 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 7 Sep 2012 18:09:20 +0000 (19:09 +0100)
commita0d7bf7dd1b37ccd6804cd62ca037c1efe3b2e27
tree4aa0cca119eda64e5760c683077c03bec9a1aeaf
parent00176b360ce44bcc5dea2bcd0c8ff5ba9309685f
staging:iio: hid-sensors Use iio_push_to_buffer

Consistently use iio_push_to_buffer instead of manually calling the buffers
store_to callback.

These crossed with Lars-Peter's patch set doing every other case.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
drivers/iio/accel/hid-sensor-accel-3d.c
drivers/iio/gyro/hid-sensor-gyro-3d.c
drivers/iio/light/hid-sensor-als.c
drivers/iio/magnetometer/hid-sensor-magn-3d.c