Re: [PATCH] iio: light: tsl2583: migrate to sysfs_emit() and sysfs_emit_at()

From: Joshua Crofts

Date: Tue Jul 14 2026 - 05:01:09 EST


On Tue, 14 Jul 2026 11:53:42 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> > for (i = 0; i < ARRAY_SIZE(chip->als_settings.als_device_lux); i++) {
> > - offset += sprintf(buf + offset, "%u,%u,%u,",
> > + offset += sysfs_emit_at(buf, offset, "%u,%u,%u,",
> > chip->als_settings.als_device_lux[i].ratio,
> > chip->als_settings.als_device_lux[i].ch0,
> > chip->als_settings.als_device_lux[i].ch1);
>
> Now the indentation becomes broken.

I seem to be blind when reviewing.

--
Kind regards

CJD