[PATCH 0/2] Use devm_platform_ioremap_resource_byname in phy

shao.mingyin at zte.com.cn shao.mingyin at zte.com.cn
Tue Apr 1 04:31:34 PDT 2025


From: Xie Ludan <xie.ludan at zte.com.cn>

Introduce devm_platform_ioremap_resource_byname() to simplify resource
retrieval and mapping.This new function consolidates
platform_get_resource_byname() and devm_ioremap_resource() into
a single call, improving code readability and reducing API call overhead.

Xie Ludan (2):
  phy: marvell: a3700-comphy: Use devm_platform_ioremap_resource_byname
  phy: tegra: xusb: Use devm_platform_ioremap_resource_byname

 drivers/phy/marvell/phy-mvebu-a3700-comphy.c | 16 +++++-----------
 drivers/phy/tegra/xusb-tegra186.c            |  4 +---
 2 files changed, 6 insertions(+), 14 deletions(-)

-- 
2.25.1



More information about the linux-phy mailing list