[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1536829986-23702-1-git-send-email-Anson.Huang@nxp.com>
Date: Thu, 13 Sep 2018 17:13:05 +0800
From: Anson Huang <Anson.Huang@....com>
To: rui.zhang@...el.com, edubezval@...il.com,
daniel.lezcano@...aro.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] thermal: imx: improve error message
Remove the duplicated "from" to improve the error message.
Signed-off-by: Anson Huang <Anson.Huang@....com>
---
drivers/thermal/imx_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index aa452ac..6cfa2a8 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -725,7 +725,7 @@ static int imx_thermal_probe(struct platform_device *pdev)
} else {
ret = imx_init_from_tempmon_data(pdev);
if (ret) {
- dev_err(&pdev->dev, "failed to init from from fsl,tempmon-data\n");
+ dev_err(&pdev->dev, "failed to init from fsl,tempmon-data\n");
return ret;
}
}
--
2.7.4
Powered by blists - more mailing lists