pm: device: rename device_pm struct to pm_device

Prefix all PM related functions/structures with pm.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-05-03 17:42:31 +02:00 committed by Anas Nashif
commit d31a9be27c
4 changed files with 6 additions and 6 deletions

View file

@ -83,7 +83,7 @@ typedef void (*device_pm_cb)(const struct device *dev,
/**
* @brief Device PM info
*/
struct device_pm {
struct pm_device {
/** Pointer to the device */
const struct device *dev;
/** Lock to synchronize the get/put operations */