pm: converge to suspend state for low power modes
The difference between low power and suspend states is a thin blur line that is is not clear and most drivers have used indistinctly. This patch converges to the usage of the suspend state for low power, since contrary to the low power state, it is used by both system and runtime device PM. The low power state is still kept, but its future is unclear and needs some discussion. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
c6cce80ac4
commit
56a35e5682
17 changed files with 20 additions and 32 deletions
|
@ -301,7 +301,6 @@ static int pwm_nrfx_set_power_state(enum pm_device_state state,
|
|||
case PM_DEVICE_STATE_ACTIVE:
|
||||
err = pwm_nrfx_init(dev);
|
||||
break;
|
||||
case PM_DEVICE_STATE_LOW_POWER:
|
||||
case PM_DEVICE_STATE_SUSPEND:
|
||||
case PM_DEVICE_STATE_OFF:
|
||||
pwm_nrfx_uninit(dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue