Re: [PATCH 1/2] backlight: ktz8866: Add support for Kinetic KTZ8866 backlight

2022-12-21 Thread Han Jingoo
On Tue, Dec 20, 2022, Jianhua Lu wrote: > > Add support for Kinetic KTZ8866 backlight, which is used in > Xiaomi tablet, Mi Pad 5 series. This driver lightly based on > downstream implementation [1]. > [1] > https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/elish-r-oss/drivers/video/backlig

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 v9 09/10] leds: flash: mt6370: Add MediaTek MT6370 flashlight support

2022-09-23 Thread Han Jingoo
On Wed, Sep 21, 2022 Andy Shevchenko wrote: > > On Wed, Sep 21, 2022 at 4:48 AM ChiaEn Wu wrote: > > On Sun, Sep 18, 2022 at 3:22 AM Han Jingoo wrote: > > > On Mon, Aug 29, 2022 ChiaEn Wu wrote: > > > > > +#define MT6370_ITORCH_MIN_uA 25000 &g

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(

Re: [PATCH linux-next] backlight: 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/lm3533_bl.c | 10 +- > 1 file changed, 5 insertions(+), 5