From: Gabriel Rondon <grondon@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: "David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Nishant Malpani" <nish.malpani25@gmail.com>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts()
Date: Fri, 21 Aug 2026 15:05:50 +0100 [thread overview]
Message-ID: <20260821140553.80246-1-grondon@gmail.com> (raw)
Convert the gyro drivers that still use the deprecated
iio_push_to_buffers_with_timestamp() to iio_push_to_buffers_with_ts(),
which takes and checks the destination buffer size.
Each pushes a struct with an aligned_s64 timestamp, so the change is
passing sizeof() of that buffer at the push site. No functional change.
Gabriel Rondon (3):
iio: gyro: adxrs290: use iio_push_to_buffers_with_ts()
iio: gyro: bmg160: use iio_push_to_buffers_with_ts()
iio: gyro: itg3200: use iio_push_to_buffers_with_ts()
drivers/iio/gyro/adxrs290.c | 4 ++--
drivers/iio/gyro/bmg160_core.c | 4 ++--
drivers/iio/gyro/itg3200_buffer.c | 3 ++-
3 files changed, 6 insertions(+), 5 deletions(-)
--
2.50.1 (Apple Git-155)
next reply other threads:[~2026-08-21 14:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-21 14:05 Gabriel Rondon [this message]
2026-08-21 14:05 ` [PATCH 1/3] iio: gyro: adxrs290: use iio_push_to_buffers_with_ts() Gabriel Rondon
2026-08-21 14:05 ` [PATCH 2/3] iio: gyro: bmg160: " Gabriel Rondon
2026-08-21 14:05 ` [PATCH 3/3] iio: gyro: itg3200: " Gabriel Rondon
2026-08-22 23:25 ` [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts() David Lechner
2026-08-23 0:42 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260821140553.80246-1-grondon@gmail.com \
--to=grondon@gmail.com \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nish.malpani25@gmail.com \
--cc=nuno.sa@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox