ANDROID: power: Export log_{suspend_abort,abnormal_wakeup}_reason

Export log_suspend_abort_reason and log_abnormal_wakeup_reason. This
will allow device-specific vendor modules to log these specific wakeup
reasons.

Bug: 155142116
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Change-Id: I0b1e065b57d7e5ddd36c8dbc4f086661ae56041a
This commit is contained in:
Daniel Mentz 2020-08-24 13:35:35 -07:00 committed by Todd Kjos
parent eefebe6467
commit 7a626b43ed

View file

@ -244,6 +244,7 @@ void log_suspend_abort_reason(const char *fmt, ...)
__log_abort_or_abnormal_wake(true, fmt, args);
va_end(args);
}
EXPORT_SYMBOL_GPL(log_suspend_abort_reason);
void log_abnormal_wakeup_reason(const char *fmt, ...)
{
@ -253,6 +254,7 @@ void log_abnormal_wakeup_reason(const char *fmt, ...)
__log_abort_or_abnormal_wake(false, fmt, args);
va_end(args);
}
EXPORT_SYMBOL_GPL(log_abnormal_wakeup_reason);
void clear_wakeup_reasons(void)
{