Commit 3b7652a
committed
zephyr: pm_runtime: use the correct type for CPU power state count
pm_state_cpu_get_all() returns uint8_t, so num_cpu_states must be
uint8_t too.
The explicit (int) cast on the loop init is only cosmetics,
matching the Zephyr reference pm policy.
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>1 parent 0f9fa75 commit 3b7652a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments