diff options
author | 2012-09-04 13:38:00 +0100 | |
---|---|---|
committer | 2012-09-08 10:14:34 +0100 | |
commit | ce56ade6ae74e604a4b5d6ea5b1d58960fa8e7aa (patch) | |
tree | 78d2013d24bb0b1afece98e27c9be2885c706d27 /drivers/staging/iio/imu/adis16400_ring.c | |
parent | staging:iio: hid-sensors Use iio_push_to_buffer (diff) | |
download | linux-dev-ce56ade6ae74e604a4b5d6ea5b1d58960fa8e7aa.tar.xz linux-dev-ce56ade6ae74e604a4b5d6ea5b1d58960fa8e7aa.zip |
iio: Drop timestamp parameter from buffer store_to callback
Drop timestamp parameter from buffer store_to callback and subsequently from
iio_push_to_buffer. The timestamp parameter is unused and it seems likely that
it will stay unused in the future, so it should be safe to remove it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/imu/adis16400_ring.c')
-rw-r--r-- | drivers/staging/iio/imu/adis16400_ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/imu/adis16400_ring.c b/drivers/staging/iio/imu/adis16400_ring.c index 6b717886b5b4..260bdd1a4681 100644 --- a/drivers/staging/iio/imu/adis16400_ring.c +++ b/drivers/staging/iio/imu/adis16400_ring.c @@ -150,7 +150,7 @@ static irqreturn_t adis16400_trigger_handler(int irq, void *p) /* Guaranteed to be aligned with 8 byte boundary */ if (ring->scan_timestamp) *((s64 *)(data + ((i + 3)/4)*4)) = pf->timestamp; - iio_push_to_buffer(ring, (u8 *) data, pf->timestamp); + iio_push_to_buffer(ring, (u8 *) data); done: kfree(data); |