summaryrefslogtreecommitdiff
path: root/common/physical_presence.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2017-09-12 11:21:54 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-09-12 16:17:05 -0700
commitf6ac5711533ef12864481cd047e702ccc716604d (patch)
tree7a7d86a65d7e9eac1358f9d1a5b4eb3d7f95fa29 /common/physical_presence.c
parentcdcc09096ad5fac8e74903346b09552e3aeb3547 (diff)
downloadchrome-ec-f6ac5711533ef12864481cd047e702ccc716604d.tar.gz
pp: remove superfluous newline character
Messages generated using the CPRINTS macro include a newline in the end by design, no need to explicitly include it in the message. BRANCH=cr50 BUG=none TEST=verified that the message is printed without the extra newline Change-Id: I01994bcb95c78e2deaa2dc3617bea9ca8a6d1381 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/663668 Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'common/physical_presence.c')
-rw-r--r--common/physical_presence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/physical_presence.c b/common/physical_presence.c
index 0f4bbeb0f3..2f136caa84 100644
--- a/common/physical_presence.c
+++ b/common/physical_presence.c
@@ -134,7 +134,7 @@ static void physical_detect_check_press(void)
mutex_lock(&pp_mutex);
- CPRINTS("PP press dt=%.6ld\n", dt);
+ CPRINTS("PP press dt=%.6ld", dt);
/* If we no longer care about presses, ignore them */
if (pp_detect_state != PP_DETECT_IN_PROGRESS)