Thread (2 messages) 2 messages, 2 authors, 2023-08-04

Re: [PATCH -next] thermal/drivers/mediatek: Remove repeating warn msg after devm_thermal_add_hwmon_sysfs()

From: Chen-Yu Tsai <wenst@chromium.org>
Date: 2023-08-04 04:23:29
Also in: linux-mediatek, linux-pm

On Thu, Aug 3, 2023 at 9:24 AM Chen Jiahao [off-list ref] wrote:
Referring to commit 8416ecfb32923 ("thermal/hwmon: Add error
information printing for devm_thermal_add_hwmon_sysfs()"),
return value has already been checked if ret != 0 in
devm_thermal_add_hwmon_sysfs(). Error handling has also been
performed in this case, including print warning message for
debugging.

Removing dev_warn() following devm_thermal_add_hwmon_sysfs()
to clean up redundant warning message.

Signed-off-by: Chen Jiahao <redacted>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help