mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 00:40:51 +07:00
PM: runtime: Replace inline function pm_runtime_callbacks_present()
[ Upstream commit 953c1fd96b1a70bcbbfb10973c2126eba8d891c7 ] Commit9a7875461f
("PM: runtime: Replace pm_runtime_callbacks_present()") forgot to change the inline version. Fixes:9a7875461f
("PM: runtime: Replace pm_runtime_callbacks_present()") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d97cb43657
commit
8316ec23bd
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user