phy: xilinx: add runtime PM support
[ Upstream commit b3db66f6 ] Added Runtime power management support to the xilinx phy driver and using DEFINE_RUNTIME_DEV_PM_OPS new macros allows the compiler to remove the unused dev_pm_ops structure and related functions if !CONFIG_PM without the need to mark the functions __maybe_unused. Signed-off-by:Piyush Mehta <piyush.mehta@amd.com> Link: https://lore.kernel.org/r/20230613140250.3018947-2-piyush.mehta@amd.com Signed-off-by:
Vinod Koul <vkoul@kernel.org> Stable-dep-of: 5af9b304 ("phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment