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
|
@ -386,10 +386,6 @@ static int i2c_cc13xx_cc26xx_pm_control(const struct device *dev,
|
|||
*state = get_dev_data(dev)->pm_state;
|
||||
}
|
||||
|
||||
if (cb) {
|
||||
cb(dev, ret, state, arg);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif /* CONFIG_PM_DEVICE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue