pm: remove callback from control function
The callback is not used anymore, so just delete it from the pm_control callback signature. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
217e610d8f
commit
26ad8376bd
50 changed files with 96 additions and 163 deletions
|
@ -194,8 +194,7 @@ static enum pm_device_state arc_v2_irq_unit_get_state(const struct device *dev)
|
|||
*/
|
||||
static int arc_v2_irq_unit_device_ctrl(const struct device *dev,
|
||||
uint32_t ctrl_command,
|
||||
enum pm_device_state *state,
|
||||
pm_device_cb cb, void *arg)
|
||||
enum pm_device_state *state)
|
||||
{
|
||||
int ret = 0;
|
||||
unsigned int key = arch_irq_lock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue