From b16b36b94989a0d8e0f2268099f91094668c70f9 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Mon, 17 Jun 2019 13:08:06 +0800 Subject: ec: Remove extraneous new line as the end of CPRINTS strings CPRINTS already prints a new line, no need to add another one. Spotted during boot on kukui, and then realized there are many more instances: "" [3.689239 Module 7 is not supported for clock disable ] "" BRANCH=none BUG=none TEST=make buildall -j TEST=`git grep CPRINTS | grep "\\\\n\""` shows nothing of interest. Change-Id: I4d2bbbc65a91fa56c6e6115aa5c353bfd2b384a1 Signed-off-by: Nicolas Boichat Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1660519 Tested-by: Daisuke Nojiri Reviewed-by: Vadim Bendebury Reviewed-by: Daisuke Nojiri --- power/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'power') diff --git a/power/common.c b/power/common.c index c918138b6f..13c620a6b1 100644 --- a/power/common.c +++ b/power/common.c @@ -704,7 +704,7 @@ void power_signal_interrupt(enum gpio_signal signal) if (power_signal_list[i].gpio == signal) { if (power_signal_interrupt_count[i]++ == CONFIG_POWER_SIGNAL_INTERRUPT_STORM_DETECT_THRESHOLD) - CPRINTS("Interrupt storm! Signal %d\n", i); + CPRINTS("Interrupt storm! Signal %d", i); break; } } -- cgit v1.2.1