From: Jonathan Cameron <jic23@kernel.org>
To: David Lechner <dlechner@baylibre.com>
Cc: "Qianfeng Rong" <rongqianfeng@vivo.com>,
"Jean-Baptiste Maneyrol" <jean-baptiste.maneyrol@tdk.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] iio: imu: use min() to improve code
Date: Sun, 17 Aug 2025 15:30:35 +0100 [thread overview]
Message-ID: <20250817153035.1ed54fbf@jic23-huawei> (raw)
In-Reply-To: <f089d2fe-562f-46bf-aef2-f19302d3196e@baylibre.com>
On Sat, 16 Aug 2025 11:56:24 -0500
David Lechner <dlechner@baylibre.com> wrote:
> On 8/16/25 7:05 AM, Qianfeng Rong wrote:
> > Use min() to reduce code in inv_icm42600_buffer_update_fifo_period()
> > and inv_icm42600_buffer_update_watermark(), and improve readability.
> >
> > Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
> > ---
> Reviewed-by: David Lechner <dlechner@baylibre.com>
>
Applied with tweak to patch title to include inv_icm42600.
When people are deciding whether to look at a patch or not
having info on what driver it applies to is always useful.
Jonathan
prev parent reply other threads:[~2025-08-17 14:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-16 12:05 Qianfeng Rong
2025-08-16 16:56 ` David Lechner
2025-08-17 14:30 ` Jonathan Cameron [this message]
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=20250817153035.1ed54fbf@jic23-huawei \
--to=jic23@kernel.org \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jean-baptiste.maneyrol@tdk.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=rongqianfeng@vivo.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
all inboxes | Powered by JetHome®