power: policy: cc13x2_cc26x2: remove unnecessary sleep state conditions
Minor clean up to remove unnecessary references in the code to CONFIG_HAS_SYS_POWER_STATE_SLEEP_1 and CONFIG_HAS_SYS_POWER_STATE_SLEEP_2, as they are always defined for this SoC. Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
This commit is contained in:
parent
8cf74c8e02
commit
4a8cfe02a3
1 changed files with 0 additions and 6 deletions
|
@ -32,14 +32,8 @@ extern PowerCC26X2_ModuleState PowerCC26X2_module;
|
|||
/* PM Policy based on SoC/Platform residency requirements */
|
||||
static const unsigned int pm_min_residency[] = {
|
||||
#ifdef CONFIG_SYS_POWER_SLEEP_STATES
|
||||
#ifdef CONFIG_HAS_SYS_POWER_STATE_SLEEP_1
|
||||
CONFIG_SYS_PM_MIN_RESIDENCY_SLEEP_1 * SECS_TO_TICKS / MSEC_PER_SEC,
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_HAS_SYS_POWER_STATE_SLEEP_2
|
||||
CONFIG_SYS_PM_MIN_RESIDENCY_SLEEP_2 * SECS_TO_TICKS / MSEC_PER_SEC,
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_SYS_POWER_SLEEP_STATES */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue