Re: [PATCH v1 3/4] leds: trigger: gpio: Use sysfs_emit() to instead of s*printf()

From: Linus Walleij
Date: Sat Nov 04 2023 - 18:26:25 EST


On Fri, Nov 3, 2023 at 8:53 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> Follow the advice of the Documentation/filesystems/sysfs.rst and show()
> should only use sysfs_emit() or sysfs_emit_at() when formatting the
> value to be returned to user space.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij