Skip to content

Commit d5e58ce

Browse files
committed
PM: runtime: Drop DEFINE_FREE() for pm_runtime_put()
The DEFINE_FREE() for pm_runtime_put has been superseded by recently introduced runtime PM auto-cleanup macros and its only user has been converted to using one of the new macros, so drop it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Dhruva Gole <d-gole@ti.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
1 parent 8ff5aaa commit d5e58ce

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

include/linux/pm_runtime.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,6 @@ static inline int pm_runtime_put(struct device *dev)
563563
return __pm_runtime_idle(dev, RPM_GET_PUT | RPM_ASYNC);
564564
}
565565

566-
DEFINE_FREE(pm_runtime_put, struct device *, if (_T) pm_runtime_put(_T))
567-
568566
/**
569567
* __pm_runtime_put_autosuspend - Drop device usage counter and queue autosuspend if 0.
570568
* @dev: Target device.

0 commit comments

Comments
 (0)