Skip to content

Commit

Permalink
iio:dummy: Stop enabling timestamp by default.
Browse files Browse the repository at this point in the history
It's bad practice and only done in this fake driver + it breaks my
attempt to take struct buffer opaque. Not worth an access function
as it shouldn't be done anyway.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
  • Loading branch information
Jonathan Cameron committed Jan 10, 2017
1 parent 2b827ad commit c56b7d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/iio/dummy/iio_simple_dummy_buffer.c
Original file line number Diff line number Diff line change
@@ -132,9 +132,6 @@ int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev)

iio_device_attach_buffer(indio_dev, buffer);

/* Enable timestamps by default */
buffer->scan_timestamp = true;

/*
* Tell the core what device type specific functions should
* be run on either side of buffer capture enable / disable.

0 comments on commit c56b7d8

Please sign in to comment.