Re: [PATCH v4] Input: touchscreen: use sysfs_emit() to instead of scnprintf()

From: Dmitry Torokhov
Date: Wed Dec 13 2023 - 01:58:18 EST


On Tue, Dec 06, 2022 at 11:48:16AM +0800, ye.xingchen@xxxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> 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: ye xingchen <ye.xingchen@xxxxxxxxxx>
> Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> Acked-by: Oliver Graute <oliver.graute@xxxxxxxxxxxxxxxxx>

Applied, thank you.

--
Dmitry