summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-03-04 03:42:42 +0100
committerThierry Reding <thierry.reding@gmail.com>2021-03-22 11:49:46 +0100
commit5a43c201c9d05a65f1997877ba45ec41ee91b8b5 (patch)
tree855d0af416eb1dcc3a652fb3601cfc128743d0b5 /drivers/pwm
parentpwm: ab8500: Implement .apply instead of .config, .enable and .disable (diff)
downloadlinux-5a43c201c9d05a65f1997877ba45ec41ee91b8b5.tar.xz
linux-5a43c201c9d05a65f1997877ba45ec41ee91b8b5.zip
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>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/pwm-imx-tpm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-imx-tpm.c b/drivers/pwm/pwm-imx-tpm.c
index aaf629bd8c35..eec9ec4e1a2a 100644
--- a/drivers/pwm/pwm-imx-tpm.c
+++ b/drivers/pwm/pwm-imx-tpm.c
@@ -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;
}