Re: [PATCH v3] iio: light: tsl2583: migrate to sysfs_emit() and sysfs_emit_at()
From: Jonathan Cameron
Date: Sun Jul 19 2026 - 21:52:15 EST
On Thu, 16 Jul 2026 23:12:15 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> On Thu, Jul 16, 2026 at 09:04:35AM +0800, OrangeBlack0765@xxxxxxxxxxx wrote:
>
> > Replace sprintf() with sysfs_emit() for single-value sysfs show
> > functions, and use sysfs_emit_at() for lux_table_show() which
> > concatenates multiple values. This ensures buffer safety and
> > follows the modern kernel sysfs API.
>
> Now it looks good to me.
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
>
I applied this but for some reason seem to have failed to
send an email to say so.
It's on my testing branch.
Thanks,
Jonathan