[PATCH 1/2] phy: marvell: a3700-comphy: Use devm_platform_ioremap_resource_byname
Miquel Raynal
miquel.raynal at bootlin.com
Tue Apr 1 05:31:52 PDT 2025
On 01/04/2025 at 19:38:36 +08, <shao.mingyin at zte.com.cn> wrote:
> 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.
>
> Signed-off-by: Xie Ludan <xie.ludan at zte.com.cn>
> Signed-off-by: Shao Mingyin <shao.mingyin at zte.com.cn>
Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
Thanks,
Miquèl
More information about the linux-phy
mailing list