[PATCH v2] backlight: pm8941: Add NULL check in wled_configure()

2025-04-05 Thread Henry Martin
stead of device_node.name") Signed-off-by: Henry Martin --- V1 -> V2: Fix commit message to use imperative mood and wrap lines to 75 characters. drivers/video/backlight/qcom-wled.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/qcom-wled

[PATCH v4] backlight: pm8941: Add NULL check in wled_configure()

2025-04-04 Thread Henry Martin
stead of device_node.name") Signed-off-by: Henry Martin Reviewed-by: Dmitry Baryshkov Reviewed-by: Daniel Thompson (RISCstar) --- V3 -> V4: No functional changes, just correcting the version number V2 -> V3: Correct commit meessage and confirm this patch has considered resource clea

[PATCH v3] backlight: pm8941: Add NULL check in wled_configure()

2025-03-31 Thread Henry Martin
Thanks for your review. No further improvements needed for this implementation - it already handles all error cases appropriately. Best regards, Henry

[PATCH] backlight: qcom-wled: Add NULL check in the wled_configure

2025-03-31 Thread Henry Martin
m8941: Convert to using %pOFn instead of device_node.name") Signed-off-by: Henry Martin --- drivers/video/backlight/qcom-wled.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index 9a

[PATCH v3] backlight: pm8941: Add NULL check in wled_configure()

2025-04-01 Thread Henry Martin
this case) Fixes: f86b77583d88 ("backlight: pm8941: Convert to using %pOFn instead of device_node.name") Signed-off-by: Henry Martin Reviewed-by: Dmitry Baryshkov --- V2 -> V3: Fix commit message and verify proper error handling with resource cleanup. V1 -> V2: Fix commi

[PATCH v3] backlight: pm8941: Add NULL check in wled_configure()

2025-03-31 Thread Henry Martin
stead of device_node.name") Reviewed-by: Dmitry Baryshkov Signed-off-by: Henry Martin --- V2 -> V3: Correct commit meessage and confirm this patch has considered resource cleanup to avoid any subsequent issues, ensuring that errors are handled properly and no resources are left in an incon

Re: (subset) [PATCH v4] backlight: pm8941: Add NULL check in wled_configure()

2025-04-04 Thread henry martin
Noted, thanks for the feedback! I’ll send subsequent versions as independent patches in the future. Best regards, Henry Lee Jones 于2025年4月4日周五 23:13写道: > > On Fri, 04 Apr 2025, Lee Jones wrote: > > > On Tue, 01 Apr 2025 17:16:47 +0800, Henry Martin wrote: > > > devm_