Re: [PATCH 3/4] Input: stmfts - use sysfs_emit() instead of sprintf()
From: Dmitry Torokhov
Date: Tue Dec 16 2025 - 01:26:48 EST
On Mon, Dec 15, 2025 at 03:30:03PM +0100, David Heidelberg via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@xxxxxxxxxxxxxx>
>
> 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: Petr Hodina <petr.hodina@xxxxxxxxxxxxxx>
> Signed-off-by: David Heidelberg <david@xxxxxxx>
Applied, thank you.
--
Dmitry