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>
This commit is contained in:
Vadim Bendebury
2017-09-12 11:21:54 -07:00
committed by chrome-bot
parent cdcc09096a
commit f6ac571153

View File

@@ -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)