pm: deprecate device_pm_control_nop

All in-tree usage has been replaced with `NULL`, so flag it as
deprecated.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-04-28 22:45:28 +02:00 committed by Anas Nashif
commit cc6c9086de

View file

@ -922,12 +922,8 @@ static inline int device_pm_put_sync(const struct device *dev) { return -ENOTSUP
#endif
#endif
/**
* @brief Alias for legacy use of device_pm_control_nop.
*
* @note Usage of NULL is preferred, this alias will eventually be removed.
*/
#define device_pm_control_nop NULL
/** Alias for legacy use of device_pm_control_nop */
#define device_pm_control_nop __DEPRECATED_MACRO NULL
/**
* @}