[PATCH v2 2/4] thermal: mediatek: Fix apmixed error message
Markus Schneider-Pargmann
msp at baylibre.com
Tue Oct 19 02:34:02 PDT 2021
Seems to be a copy and paste mistake, this is the apmixed address, not
auxadc.
Signed-off-by: Markus Schneider-Pargmann <msp at baylibre.com>
Fixes: a92db1c8089e (thermal: Add Mediatek thermal controller support)
---
drivers/thermal/mtk_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/mtk_thermal.c b/drivers/thermal/mtk_thermal.c
index ede94eadddda..93ee043d70da 100644
--- a/drivers/thermal/mtk_thermal.c
+++ b/drivers/thermal/mtk_thermal.c
@@ -1050,7 +1050,7 @@ static int mtk_thermal_probe(struct platform_device *pdev)
of_node_put(apmixedsys);
if (apmixed_phys_base == OF_BAD_ADDR) {
- dev_err(&pdev->dev, "Can't get auxadc phys address\n");
+ dev_err(&pdev->dev, "Can't get apmixed phys address\n");
return -EINVAL;
}
--
2.33.0
More information about the Linux-mediatek
mailing list