From: Anson Huang Date: Thu, 13 Sep 2018 09:13:05 +0000 (+0800) Subject: thermal: imx: improve error message X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=337a4aecdaf8fa53b16fbf48a73d328fb44ffb75;p=linux.git thermal: imx: improve error message Remove the duplicated "from" to improve the error message. Signed-off-by: Anson Huang Reviewed-by: Daniel Lezcano Signed-off-by: Eduardo Valentin --- diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index aa452acb60b6c..6cfa2a82209e4 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; } }