On Mon, 05 Dec 2022, ye.xingc...@zte.com.cn wrote:
> From: ye xingchen
>
> 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
> ---
>
On Mon, Dec 05, 2022 at 03:56:47PM +0800, ye.xingc...@zte.com.cn wrote:
> Subject: [PATCH linux-next] backlight: use sysfs_emit() to instead of
> scnprintf()
Isn't this a v2?
(this isn't just a "nice to have"... I ended up delaying review for
several days until I had t
From: ye xingchen
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
---
drivers/video/backlight/lm3533_bl.c | 10 +-
drivers/video/ba
On Fri, Sep 23, 2022 at 06:34:48AM +, cgel@gmail.com wrote:
> Subject: [PATCH linux-next] backlight: use sysfs_emit() to instead of
> scnprintf()
> From: ye xingchen
>
> Replace the open-code with sysfs_emit() to simplify the code.
>
> Signed-off-by: ye xingchen
&
On Thu, Sep 22, 2022 wrote:
>
> From: ye xingchen
>
> Replace the open-code with sysfs_emit() to simplify the code.
>
> Signed-off-by: ye xingchen
Acked-by: Jingoo Han
Best regards,
Jingoo Han
> ---
> drivers/video/backlight/lm3533_bl.c | 10 +-
> 1 file changed, 5 insertions(+), 5
From: ye xingchen
Replace the open-code with sysfs_emit() to simplify the code.
Signed-off-by: ye xingchen
---
drivers/video/backlight/lm3533_bl.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/video/backlight/lm3533_bl.c
b/drivers/video/backlight/lm353