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:
Gerard Marull-Paretas 2021-06-09 13:09:42 +02:00 committed by Anas Nashif
commit 9e7d545bb4
42 changed files with 20 additions and 58 deletions

View file

@ -410,8 +410,7 @@ static int bme280_chip_init(const struct device *dev)
}
#ifdef CONFIG_PM_DEVICE
int bme280_pm_ctrl(const struct device *dev, uint32_t ctrl_command,
enum pm_device_state *state)
int bme280_pm_ctrl(const struct device *dev, enum pm_device_state *state)
{
int ret = 0;
enum pm_device_state curr_state;