pm: refine defination of pm_dump_debug_info()

Provide dummy implementation of pm_dump_debug_info() as a
static inline function in pm.h.

Signed-off-by: Meng xianglin <xianglinx.meng@intel.com>
This commit is contained in:
Meng xianglin 2021-08-17 00:26:11 -04:00 committed by Christopher Friedt
commit f039cc44a1
2 changed files with 2 additions and 1 deletions

View file

@ -85,6 +85,8 @@ void pm_power_state_force(struct pm_state_info info);
* Dump Low Power states debug info like LPS entry count and residencies.
*/
void pm_dump_debug_info(void);
#else
static inline void pm_dump_debug_info(void) { }
#endif /* CONFIG_PM_DEBUG */