pm: rename PM_DEVICE_GET/SET_POWER_STATE to PM_DEVICE_STATE_GET/SET
Adjust name to be consistent with device PM naming conventions. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
6633b05530
commit
56f1a8ce98
36 changed files with 72 additions and 72 deletions
|
@ -74,8 +74,8 @@ struct device;
|
|||
#define PM_DEVICE_OFF_STATE 5
|
||||
|
||||
/* Constants defining support device power commands */
|
||||
#define PM_DEVICE_SET_POWER_STATE 1
|
||||
#define PM_DEVICE_GET_POWER_STATE 2
|
||||
#define PM_DEVICE_STATE_SET 1
|
||||
#define PM_DEVICE_STATE_GET 2
|
||||
|
||||
typedef void (*pm_device_cb)(const struct device *dev,
|
||||
int status, void *context, void *arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue