pm: device: Align state names with system states
Change device pm states to the same pattern used by system power management. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
86a8ab5c2c
commit
0c607adb63
51 changed files with 258 additions and 258 deletions
|
@ -453,8 +453,8 @@ static inline int uart_npcx_set_power_state(const struct device *dev,
|
|||
struct uart_npcx_data *const data = DRV_DATA(dev);
|
||||
|
||||
/* If next device power state is LOW or SUSPEND power state */
|
||||
if (next_state == PM_DEVICE_LOW_POWER_STATE ||
|
||||
next_state == PM_DEVICE_SUSPEND_STATE) {
|
||||
if (next_state == PM_DEVICE_STATE_LOW_POWER ||
|
||||
next_state == PM_DEVICE_STATE_SUSPEND) {
|
||||
/*
|
||||
* If uart device is busy with transmitting, the driver will
|
||||
* stay in while loop and wait for the transaction is completed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue