Re: [PATCH v1] platform/x86: hp-wmi: use sysfs_emit() instead of sprintf()

From: Ilpo Järvinen
Date: Thu Mar 14 2024 - 07:56:16 EST


On Thu, 14 Mar 2024, Ai Chao wrote:

> Follow the advice in Documentation/filesystems/sysfs.rst:
> show() should only use sysfs_emit() or sysfs_emit_at() when formatting
> the value to be returned to user space.
>
> Signed-off-by: Ai Chao <aichao@xxxxxxxxxx>
> ---

Thanks.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

--
i.