Skip to content

Commit 953c1fd

Browse files
YueHaibingrafaeljw
authored andcommitted
PM: runtime: Replace inline function pm_runtime_callbacks_present()
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>
1 parent e84dff1 commit 953c1fd

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)