[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y7WWS6D5Vv3m0XzW@google.com>
Date: Wed, 4 Jan 2023 15:07:55 +0000
From: Lee Jones <lee@...nel.org>
To: ye.xingchen@....com.cn
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: use sysfs_emit() to instead of scnprintf()
On Fri, 02 Dec 2022, ye.xingchen@....com.cn wrote:
> From: ye xingchen <ye.xingchen@....com.cn>
>
> 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@....com.cn>
> ---
> drivers/mfd/kempld-core.c | 7 +++----
> drivers/mfd/lm3533-core.c | 2 +-
> 2 files changed, 4 insertions(+), 5 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists