Re: [PATCH v4] iio: st_lsm6dsx: Replace scnprintf with sysfs_emit
From: Jonathan Cameron
Date: Sat Aug 16 2025 - 09:35:03 EST
On Mon, 11 Aug 2025 21:17:18 +0200
Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> On Mon, Aug 11, 2025 at 6:57 PM Akshay Bansod <akbansd@xxxxxxxxx> 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@xxxxxxxxxx>
>
Tweaked patch title to include () for the two functions mentioned.
I think that just makes things a tiny bit clearer.
Applied.