Skip to content

Commit 8316ec2

Browse files
YueHaibinggregkh
authored andcommitted
PM: runtime: Replace inline function pm_runtime_callbacks_present()
[ Upstream commit 953c1fd ] Commit 9a78754 ("PM: runtime: Replace pm_runtime_callbacks_present()") forgot to change the inline version. Fixes: 9a78754 ("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>
1 parent d97cb43 commit 8316ec2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/pm_runtime.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ static inline void pm_runtime_no_callbacks(struct device *dev) {}
265265
static inline void pm_runtime_irq_safe(struct device *dev) {}
266266
static inline bool pm_runtime_is_irq_safe(struct device *dev) { return false; }
267267

268-
static inline bool pm_runtime_callbacks_present(struct device *dev) { return false; }
268+
static inline bool pm_runtime_has_no_callbacks(struct device *dev) { return false; }
269269
static inline void pm_runtime_mark_last_busy(struct device *dev) {}
270270
static inline void __pm_runtime_use_autosuspend(struct device *dev,
271271
bool use) {}

0 commit comments

Comments
 (0)