pm: rename PM_DEVICE_STATE_SUSPEND to PM_DEVICE_STATE_SUSPENDED
The verb tense for the suspended state was not consistent with other states. The likely reason: state was being used as a command/action. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
56a35e5682
commit
d41dadc569
32 changed files with 61 additions and 61 deletions
|
@ -301,7 +301,7 @@ 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_SUSPEND:
|
||||
case PM_DEVICE_STATE_SUSPENDED:
|
||||
case PM_DEVICE_STATE_OFF:
|
||||
pwm_nrfx_uninit(dev);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue