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

2022-09-26 Thread Han Jingoo
On Mon, Sep 26, 2022 Daniel Thompson wrote: > > On Fri, Sep 23, 2022 at 06:35:33AM +, cgel@gmail.com wrote: > > From: ye xingchen > > > > Replace the open-code with sysfs_emit() to simplify the code. > > > > Signed-off-by: ye xingchen > > --- > > drivers/video/backlight/lp8788_bl.c | 2

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

2022-09-26 Thread Daniel Thompson
On Fri, Sep 23, 2022 at 06:35:33AM +, cgel@gmail.com wrote: > From: ye xingchen > > Replace the open-code with sysfs_emit() to simplify the code. > > Signed-off-by: ye xingchen > --- > drivers/video/backlight/lp8788_bl.c | 2 +- This one has the subject right and is a good change. Howeve

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

2022-09-23 Thread Han Jingoo
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/lp8788_bl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

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

2022-09-22 Thread cgel . zte
From: ye xingchen Replace the open-code with sysfs_emit() to simplify the code. Signed-off-by: ye xingchen --- drivers/video/backlight/lp8788_bl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/lp8788_bl.c b/drivers/video/backlight/lp8788_bl.c inde