Re: [PATCH] mfd: use sysfs_emit() to instead of scnprintf()
From: Lee Jones
Date: Wed Jan 04 2023 - 10:08:43 EST
On Fri, 02 Dec 2022, 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>
> ---
> drivers/mfd/kempld-core.c | 7 +++----
> drivers/mfd/lm3533-core.c | 2 +-
> 2 files changed, 4 insertions(+), 5 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]