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:
parent
70fc2dc8f8
commit
cc6c9086de
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue