[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250919163147.4743-4-tiwai@suse.de>
Date: Fri, 19 Sep 2025 18:31:44 +0200
From: Takashi Iwai <tiwai@...e.de>
To: "Rafael J . Wysocki" <rafael@...nel.org>
Cc: linux-pm@...r.kernel.org,
Bjorn Helgaas <bhelgaas@...gle.com>,
linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/3] PM: runtime: Drop unused pm_runtime_free __free() definition
Since the introduction of CLASS macros for pm_runtime_get/put and the
conversion with it, there is no user of __free(pm_runtime_put) any
longer. Let's clean it up.
Signed-off-by: Takashi Iwai <tiwai@...e.de>
---
include/linux/pm_runtime.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h
index 637bfda9c2cd..29d746f57f98 100644
--- a/include/linux/pm_runtime.h
+++ b/include/linux/pm_runtime.h
@@ -579,8 +579,6 @@ static inline int pm_runtime_put(struct device *dev)
return __pm_runtime_idle(dev, RPM_GET_PUT | RPM_ASYNC);
}
-DEFINE_FREE(pm_runtime_put, struct device *, if (_T) pm_runtime_put(_T))
-
/**
* __pm_runtime_put_autosuspend - Drop device usage counter and queue autosuspend if 0.
* @dev: Target device.
--
2.50.1
Powered by blists - more mailing lists