Browse Source

clocksource/drivers/fttmr010: pr_err() strings should end with newlines

pr_err() messages should end with a new-line to avoid other messages being
concatenated.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Arvind Yadav 7 years ago
parent
commit
1893428bd8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/clocksource/timer-fttmr010.c

+ 2 - 2
drivers/clocksource/timer-fttmr010.c

@@ -263,14 +263,14 @@ static int __init fttmr010_common_init(struct device_node *np, bool is_aspeed)
 
 
 	fttmr010->base = of_iomap(np, 0);
 	fttmr010->base = of_iomap(np, 0);
 	if (!fttmr010->base) {
 	if (!fttmr010->base) {
-		pr_err("Can't remap registers");
+		pr_err("Can't remap registers\n");
 		ret = -ENXIO;
 		ret = -ENXIO;
 		goto out_free;
 		goto out_free;
 	}
 	}
 	/* IRQ for timer 1 */
 	/* IRQ for timer 1 */
 	irq = irq_of_parse_and_map(np, 0);
 	irq = irq_of_parse_and_map(np, 0);
 	if (irq <= 0) {
 	if (irq <= 0) {
-		pr_err("Can't parse IRQ");
+		pr_err("Can't parse IRQ\n");
 		ret = -EINVAL;
 		ret = -EINVAL;
 		goto out_unmap;
 		goto out_unmap;
 	}
 	}