]> Git Repo - J-linux.git/commitdiff
pwm: imx-tpm: Use a single line for error message
authorFabio Estevam <[email protected]>
Thu, 4 Mar 2021 02:42:42 +0000 (23:42 -0300)
committerThierry Reding <[email protected]>
Mon, 22 Mar 2021 10:49:46 +0000 (11:49 +0100)
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 <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
drivers/pwm/pwm-imx-tpm.c

index aaf629bd8c35532da90e6f4ec46df451a1186f72..eec9ec4e1a2a7aa0c3d48fb6889c71ee7afbbaf8 100644 (file)
@@ -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;
 }
This page took 0.045089 seconds and 4 git commands to generate.