Re: [PATCH v4] iio: st_lsm6dsx: Replace scnprintf with sysfs_emit

From: Andy Shevchenko
Date: Mon Aug 11 2025 - 15:18:08 EST


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>

--
With Best Regards,
Andy Shevchenko