[PATCH linux-next] backlight: use sysfs_emit() to instead of scnprintf()
Lee Jones
lee at kernel.org
Wed Jan 4 16:21:12 UTC 2023
On Mon, 05 Dec 2022, ye.xingchen at zte.com.cn wrote:
> From: ye xingchen <ye.xingchen at zte.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 at zte.com.cn>
> ---
> 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 [李琼斯]
More information about the dri-devel
mailing list