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
|
@ -92,7 +92,7 @@ int bmp388_trigger_set(
|
|||
struct bmp388_data *data = DEV_DATA(dev);
|
||||
|
||||
#ifdef CONFIG_DEVICE_POWER_MANAGEMENT
|
||||
if (data->device_power_state != PM_DEVICE_ACTIVE_STATE) {
|
||||
if (data->device_power_state != PM_DEVICE_STATE_ACTIVE) {
|
||||
return -EBUSY;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue