Currently the error message is needlessly splitted across two lines.

Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be>
Cc: Rafael J. Wysocki <r...@rjwysocki.net>
---
 drivers/cpufreq/cpufreq-dt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c
index 92c162af5045a2da..685f59598137ea03 100644
--- a/drivers/cpufreq/cpufreq-dt.c
+++ b/drivers/cpufreq/cpufreq-dt.c
@@ -192,7 +192,7 @@ static int cpufreq_init(struct cpufreq_policy *policy)
 
        ret = allocate_resources(policy->cpu, &cpu_dev, &cpu_reg, &cpu_clk);
        if (ret) {
-               pr_err("%s: Failed to allocate resources\n: %d", __func__, ret);
+               pr_err("%s: Failed to allocate resources: %d\n", __func__, ret);
                return ret;
        }
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to