[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250816143445.3dd52031@jic23-huawei>
Date: Sat, 16 Aug 2025 14:34:45 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Akshay Bansod <akbansd@...il.com>, Lorenzo Bianconi
<lorenzo@...nel.org>, David Lechner <dlechner@...libre.com>, Nuno
Sá <nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
linux-kernel-mentees@...ts.linuxfoundation.org, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] iio: st_lsm6dsx: Replace scnprintf with sysfs_emit
On Mon, 11 Aug 2025 21:17:18 +0200
Andy Shevchenko <andy.shevchenko@...il.com> wrote:
> On Mon, Aug 11, 2025 at 6:57 PM Akshay Bansod <akbansd@...il.com> wrote:
> >
> > Update the sysfs interface for sampling frequency and scale attributes.
> > Replace `scnprintf()` with `sysfs_emit_at()` which is PAGE_SIZE-aware
> > and recommended for use in sysfs.
>
> LGTM,
> Reviewed-by: Andy Shevchenko <andy@...nel.org>
>
Tweaked patch title to include () for the two functions mentioned.
I think that just makes things a tiny bit clearer.
Applied.
Powered by blists - more mailing lists