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:
Gerard Marull-Paretas 2021-06-04 11:15:54 +02:00 committed by Christopher Friedt
commit 217e610d8f
35 changed files with 0 additions and 128 deletions

View file

@ -553,10 +553,6 @@ static int st7735r_pm_control(const struct device *dev, uint32_t ctrl_command,
ret = -EINVAL;
}
if (cb != NULL) {
cb(dev, ret, state, arg);
}
return ret;
}
#endif /* CONFIG_PM_DEVICE */

View file

@ -433,9 +433,6 @@ static int st7789v_pm_control(const struct device *dev, uint32_t ctrl_command,
ret = -EINVAL;
}
if (cb != NULL) {
cb(dev, ret, state, arg);
}
return ret;
}
#endif /* CONFIG_PM_DEVICE */