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:
parent
7bfd3a11f3
commit
dbf46b3815
38 changed files with 39 additions and 39 deletions
|
@ -520,7 +520,7 @@ static int st7735r_enter_sleep(struct st7735r_data *data)
|
|||
}
|
||||
|
||||
static int st7735r_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;
|
||||
struct st7735r_data *data = (struct st7735r_data *)dev->data;
|
||||
|
|
|
@ -409,7 +409,7 @@ static void st7789v_enter_sleep(struct st7789v_data *data)
|
|||
}
|
||||
|
||||
static int st7789v_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;
|
||||
struct st7789v_data *data = (struct st7789v_data *)dev->data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue