Commit 5a43c201 authored by Fabio Estevam's avatar Fabio Estevam Committed by Thierry Reding

pwm: imx-tpm: Use a single line for error message

There is no need to split the dev_err() call in three lines.

Use a single line to improve readability.
Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent acf3402d
...@@ -411,9 +411,7 @@ static int __maybe_unused pwm_imx_tpm_resume(struct device *dev) ...@@ -411,9 +411,7 @@ static int __maybe_unused pwm_imx_tpm_resume(struct device *dev)
ret = clk_prepare_enable(tpm->clk); ret = clk_prepare_enable(tpm->clk);
if (ret) if (ret)
dev_err(dev, dev_err(dev, "failed to prepare or enable clock: %d\n", ret);
"failed to prepare or enable clock: %d\n",
ret);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment