pm: remove redundant callback usage
the device PM callback is not used anymore by the device PM subsystem, so remove it from all drivers/tests using it. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
a4f22b6235
commit
217e610d8f
35 changed files with 0 additions and 128 deletions
|
@ -212,10 +212,6 @@ static int arc_v2_irq_unit_device_ctrl(const struct device *dev,
|
|||
|
||||
arch_irq_unlock(key);
|
||||
|
||||
if (cb) {
|
||||
cb(dev, ret, state, arg);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -346,10 +346,6 @@ static int ioapic_device_ctrl(const struct device *dev,
|
|||
*state = ioapic_device_power_state;
|
||||
}
|
||||
|
||||
if (cb) {
|
||||
cb(dev, ret, state, arg);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -429,10 +429,6 @@ static int loapic_device_ctrl(const struct device *port,
|
|||
*state = loapic_device_power_state;
|
||||
}
|
||||
|
||||
if (cb) {
|
||||
cb(port, ret, state, arg);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue