tests: pm: mgmt_soc: Remove log in state notification entry

The notification is sent after the subsystem select the power state to
use and after suspend devices. The callback should not try to access a
device. In this case, uart through LOG macros.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2021-12-20 15:36:02 -08:00 committed by Maureen Helm
commit 23335e1cc1

View file

@ -59,7 +59,6 @@ static void pm_latency_check(void)
latency = k_uptime_delta(&trigger_time);
secs = (int)(latency / SEC_TO_MSEC);
msecs = (int)(latency % SEC_TO_MSEC);
LOG_INF("PM sleep entry latency %d.%03d seconds", secs, msecs);
zassert_false(secs > 0, "Sleep entry latency is too high");