pm: device: remove ctrl_command callback argument
The ctrl_command is not used anymore, so remove it from the callback signature. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
da0ff4ae46
commit
9e7d545bb4
42 changed files with 20 additions and 58 deletions
|
@ -499,7 +499,7 @@ static int st7735r_enter_sleep(struct st7735r_data *data)
|
|||
return st7735r_transmit(data, ST7735R_CMD_SLEEP_IN, NULL, 0);
|
||||
}
|
||||
|
||||
static int st7735r_pm_control(const struct device *dev, uint32_t ctrl_command,
|
||||
static int st7735r_pm_control(const struct device *dev,
|
||||
enum pm_device_state *state)
|
||||
{
|
||||
int ret = 0;
|
||||
|
|
|
@ -401,8 +401,8 @@ static void st7789v_enter_sleep(struct st7789v_data *data)
|
|||
st7789v_transmit(data, ST7789V_CMD_SLEEP_IN, NULL, 0);
|
||||
}
|
||||
|
||||
static int st7789v_pm_control(const struct device *dev, uint32_t ctrl_command,
|
||||
enum pm_device_state *state)
|
||||
static int st7789v_pm_control(const struct device *dev,
|
||||
enum pm_device_state *state)
|
||||
{
|
||||
struct st7789v_data *data = (struct st7789v_data *)dev->data;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue