Re: [PATCH v4 08/14] of: Remove a duplicated code block

From: Rob Herring (Arm)
Date: Mon Jan 13 2025 - 09:46:24 EST



On Thu, 09 Jan 2025 21:26:59 +0800, Zijun Hu wrote:
> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>
> address.c has a same code block with fdt_address.c.
>
> Remove a copy by moving the duplicated code block into of_private.h.
>
> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
> ---
> drivers/of/address.c | 21 +++------------------
> drivers/of/fdt_address.c | 21 ++++-----------------
> drivers/of/of_private.h | 18 ++++++++++++++++++
> 3 files changed, 25 insertions(+), 35 deletions(-)
>

Applied, thanks!