Files
Paul CercueilandGreg Kroah-Hartman 5d94685069 PM: runtime: Add DEFINE_RUNTIME_DEV_PM_OPS() macro
[ Upstream commit 9d86191900 ]

A lot of drivers create a dev_pm_ops struct with the system sleep
suspend/resume callbacks set to pm_runtime_force_suspend() and
pm_runtime_force_resume().

These drivers can now use the DEFINE_RUNTIME_DEV_PM_OPS() macro, which
will use pm_runtime_force_{suspend,resume}() as the system sleep
callbacks, while having the same dead code removal characteristic that
is already provided by DEFINE_SIMPLE_DEV_PM_OPS().

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Stable-dep-of: 5af9b304bc ("phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-04 13:23:39 +02:00
..
2023-07-23 13:46:54 +02:00
2024-01-25 14:52:51 -08:00
2024-07-05 09:14:50 +02:00
2023-12-20 15:17:37 +01:00
2024-04-10 16:19:07 +02:00
2024-07-05 09:14:12 +02:00
2024-04-10 16:18:55 +02:00
2023-11-20 11:08:16 +01:00
2024-04-10 16:18:40 +02:00
2024-04-10 16:19:00 +02:00
2023-08-26 14:23:39 +02:00
2024-01-25 14:52:33 -08:00
2024-06-16 13:39:27 +02:00
2023-11-28 16:56:21 +00:00
2023-10-19 23:05:33 +02:00
2023-10-19 23:05:33 +02:00
2024-07-05 09:14:11 +02:00
2023-12-13 18:36:35 +01:00
2024-08-19 05:45:06 +02:00