From: Sumeet Pawnikar Date: Thu, 10 Jul 2025 17:54:25 +0000 (+0530) Subject: drivers/thermal/qcom/lmh: Fix incorrect error message X-Git-Tag: v6.18-rc1~150^2~1^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14b7ea27bd0fcbaf06f3df1544dcbced43e9fb1b;p=thirdparty%2Fkernel%2Flinux.git drivers/thermal/qcom/lmh: Fix incorrect error message It was showing wrong error message as ARM threshold thremal trip for setting LOW threshold thermal trip. Fix this incorrect error message for setting LOW threshold thermal trip. Reviewed-by: Konrad Dybcio Signed-off-by: Sumeet Pawnikar Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20250710175426.5789-1-sumeet4linux@gmail.com --- diff --git a/drivers/thermal/qcom/lmh.c b/drivers/thermal/qcom/lmh.c index c681a3c89ffa0..ddadcfada5136 100644 --- a/drivers/thermal/qcom/lmh.c +++ b/drivers/thermal/qcom/lmh.c @@ -206,7 +206,7 @@ static int lmh_probe(struct platform_device *pdev) ret = qcom_scm_lmh_dcvsh(LMH_SUB_FN_THERMAL, LMH_TH_LOW_THRESHOLD, temp_low, LMH_NODE_DCVS, node_id, 0); if (ret) { - dev_err(dev, "Error setting thermal ARM threshold%d\n", ret); + dev_err(dev, "Error setting thermal LOW threshold%d\n", ret); return ret; }