diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-03-04 03:42:42 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-03-22 11:49:46 +0100 |
commit | 5a43c201c9d05a65f1997877ba45ec41ee91b8b5 (patch) | |
tree | 855d0af416eb1dcc3a652fb3601cfc128743d0b5 /drivers/pwm/pwm-imx-tpm.c | |
parent | pwm: ab8500: Implement .apply instead of .config, .enable and .disable (diff) | |
download | linux-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/pwm-imx-tpm.c')
-rw-r--r-- | drivers/pwm/pwm-imx-tpm.c | 4 |
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; } |