mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
iio: buffer: Move from int64_t to s64 for timestamp
iio_push_to_buffers_with_ts_unaligned() uses int64_t for timestamp. Move it from int64_t to s64 to make consistent with: - iio_push_to_buffers_with_ts() - all current users that supply s64 anyway This will reduce potential of wrong type being chosen when using this API. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
095ae2f2e7
commit
c0536d61f3
|
|
@ -2444,7 +2444,7 @@ EXPORT_SYMBOL_GPL(iio_push_to_buffers);
|
|||
int iio_push_to_buffers_with_ts_unaligned(struct iio_dev *indio_dev,
|
||||
const void *data,
|
||||
size_t data_sz,
|
||||
int64_t timestamp)
|
||||
s64 timestamp)
|
||||
{
|
||||
struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev);
|
||||
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ static inline int iio_push_to_buffers_with_ts(struct iio_dev *indio_dev,
|
|||
|
||||
int iio_push_to_buffers_with_ts_unaligned(struct iio_dev *indio_dev,
|
||||
const void *data, size_t data_sz,
|
||||
int64_t timestamp);
|
||||
s64 timestamp);
|
||||
|
||||
bool iio_validate_scan_mask_onehot(struct iio_dev *indio_dev,
|
||||
const unsigned long *mask);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user