thermal: imx: improve error message
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 13 Sep 2018 09:13:05 +0000 (17:13 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 23 Oct 2018 00:36:41 +0000 (17:36 -0700)
Remove the duplicated "from" to improve the error message.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/imx_thermal.c

index aa452ac..6cfa2a8 100644 (file)
@@ -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;
                }
        }