forked from Minki/linux
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: Fabio Estevam <festevam@gmail.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
acf3402d83
commit
5a43c201c9
@ -411,9 +411,7 @@ static int __maybe_unused pwm_imx_tpm_resume(struct device *dev)
|
||||
|
||||
ret = clk_prepare_enable(tpm->clk);
|
||||
if (ret)
|
||||
dev_err(dev,
|
||||
"failed to prepare or enable clock: %d\n",
|
||||
ret);
|
||||
dev_err(dev, "failed to prepare or enable clock: %d\n", ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user