Re: [PATCH linux-next] backlight: use sysfs_emit() to instead of scnprintf()

From: Lee Jones
Date: Wed Jan 04 2023 - 11:22:44 EST


On Mon, 05 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/video/backlight/lm3533_bl.c | 10 +++++-----
> drivers/video/backlight/lp855x_bl.c | 4 ++--
> drivers/video/backlight/lp8788_bl.c | 2 +-
> 3 files changed, 8 insertions(+), 8 deletions(-)

Is this v3?

--
Lee Jones [李琼斯]