Skip to content
Commit b3db66f6 authored by Piyush Mehta's avatar Piyush Mehta Committed by Vinod Koul
Browse files

phy: xilinx: add runtime PM support



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: default avatarPiyush Mehta <piyush.mehta@amd.com>
Link: https://lore.kernel.org/r/20230613140250.3018947-2-piyush.mehta@amd.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent bd36b1ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment