summaryrefslogtreecommitdiff
path: root/drivers/iio/industrialio-buffer.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-09-04 13:38:00 +0100
committerJonathan Cameron <jic23@kernel.org>2012-09-08 10:14:34 +0100
commitce56ade6ae74e604a4b5d6ea5b1d58960fa8e7aa (patch)
tree78d2013d24bb0b1afece98e27c9be2885c706d27 /drivers/iio/industrialio-buffer.c
parenta0d7bf7dd1b37ccd6804cd62ca037c1efe3b2e27 (diff)
downloadlinux-stable-ce56ade6ae74e604a4b5d6ea5b1d58960fa8e7aa.tar.gz
linux-stable-ce56ade6ae74e604a4b5d6ea5b1d58960fa8e7aa.tar.bz2
linux-stable-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/iio/industrialio-buffer.c')
-rw-r--r--drivers/iio/industrialio-buffer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c
index 774891cf8139..d4ad37455a67 100644
--- a/drivers/iio/industrialio-buffer.c
+++ b/drivers/iio/industrialio-buffer.c
@@ -682,12 +682,11 @@ static unsigned char *iio_demux(struct iio_buffer *buffer,
return buffer->demux_bounce;
}
-int iio_push_to_buffer(struct iio_buffer *buffer, unsigned char *data,
- s64 timestamp)
+int iio_push_to_buffer(struct iio_buffer *buffer, unsigned char *data)
{
unsigned char *dataout = iio_demux(buffer, data);
- return buffer->access->store_to(buffer, dataout, timestamp);
+ return buffer->access->store_to(buffer, dataout);
}
EXPORT_SYMBOL_GPL(iio_push_to_buffer);