[PATCH 3/4] Input: stmfts - use sysfs_emit() instead of sprintf()
Dmitry Torokhov
dmitry.torokhov at gmail.com
Mon Dec 15 22:11:37 PST 2025
On Mon, Dec 15, 2025 at 03:30:03PM +0100, David Heidelberg via B4 Relay wrote:
> From: Petr Hodina <petr.hodina at protonmail.com>
>
> 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 at protonmail.com>
> Signed-off-by: David Heidelberg <david at ixit.cz>
Applied, thank you.
--
Dmitry
More information about the linux-arm-kernel
mailing list