soc: arm: microchip: Allow to support only light sleep

Make sure light sleep hook function is compile when needed
This solves linking error for shippable test that only enable
light sleep.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
This commit is contained in:
Jose Alberto Meza 2020-01-03 11:22:51 -08:00 committed by Andrew Boie
commit 3783c83b25

View file

@ -75,7 +75,9 @@ static void z_power_soc_deep_sleep(void)
soc_deep_sleep_periph_restore();
}
#endif
#ifdef CONFIG_SYS_POWER_SLEEP_STATES
/*
* Light Sleep