提交 586afe98 编写于 作者: Y YueHaibing 提交者: Zheng Zengkai

PM: runtime: Replace inline function pm_runtime_callbacks_present()

stable inclusion
from stable-5.10.37
commit 8316ec23bdd0384b6ebbc53f98edcf784dce3019
bugzilla: 51868
CVE: NA

--------------------------------

[ Upstream commit 953c1fd9 ]

Commit 9a787546 ("PM: runtime: Replace pm_runtime_callbacks_present()")
forgot to change the inline version.

Fixes: 9a787546 ("PM: runtime: Replace pm_runtime_callbacks_present()")
Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Acked-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 b744519d
......@@ -265,7 +265,7 @@ static inline void pm_runtime_no_callbacks(struct device *dev) {}
static inline void pm_runtime_irq_safe(struct device *dev) {}
static inline bool pm_runtime_is_irq_safe(struct device *dev) { return false; }
static inline bool pm_runtime_callbacks_present(struct device *dev) { return false; }
static inline bool pm_runtime_has_no_callbacks(struct device *dev) { return false; }
static inline void pm_runtime_mark_last_busy(struct device *dev) {}
static inline void __pm_runtime_use_autosuspend(struct device *dev,
bool use) {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册