diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-06-17 13:08:06 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-20 05:52:11 +0000 |
commit | b16b36b94989a0d8e0f2268099f91094668c70f9 (patch) | |
tree | ce9f912e6dbb0ed05cfb958f21e1ff67a7898292 /board/pdeval-stm32f072 | |
parent | bbe3abd8dbee0a91b5bfad214821768610b10371 (diff) | |
download | chrome-ec-b16b36b94989a0d8e0f2268099f91094668c70f9.tar.gz |
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 <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1660519
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/pdeval-stm32f072')
-rw-r--r-- | board/pdeval-stm32f072/usb_pd_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/pdeval-stm32f072/usb_pd_policy.c b/board/pdeval-stm32f072/usb_pd_policy.c index ba899f5efb..86062725fe 100644 --- a/board/pdeval-stm32f072/usb_pd_policy.c +++ b/board/pdeval-stm32f072/usb_pd_policy.c @@ -301,7 +301,7 @@ static int svdm_dp_config(int port, uint32_t *payload) mux_state |= MUX_POLARITY_INVERTED; #endif - CPRINTS("pin_mode = %d\n", pin_mode); + CPRINTS("pin_mode = %d", pin_mode); if (!pin_mode) return 0; @@ -348,7 +348,7 @@ static int svdm_dp_attention(int port, uint32_t *payload) int lvl = PD_VDO_DPSTS_HPD_LVL(payload[1]); int irq = PD_VDO_DPSTS_HPD_IRQ(payload[1]); - CPRINTS("Attention: 0x%x\n", payload[1]); + CPRINTS("Attention: 0x%x", payload[1]); anx7447_tcpc_update_hpd_status(port, lvl, irq); #endif dp_status[port] = payload[1]; |