pm: rename device_pm_cb to pm_device_cb

Prefix all device PM functions/data structures with pm.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-05-03 18:01:40 +02:00 committed by Anas Nashif
commit dbf46b3815
38 changed files with 39 additions and 39 deletions

View file

@ -265,7 +265,7 @@ static int init_twim(const struct device *dev)
#ifdef CONFIG_PM_DEVICE
static int twim_nrfx_pm_control(const struct device *dev,
uint32_t ctrl_command,
void *context, device_pm_cb cb, void *arg)
void *context, pm_device_cb cb, void *arg)
{
int ret = 0;
uint32_t pm_current_state = get_dev_data(dev)->pm_state;