[U-Boot] [PATCH 2/2] dm: core: remove the duplicated function dm_ofnode_pre_reloc
Simon Glass
sjg at chromium.org
Mon Feb 4 14:40:42 UTC 2019
Hi Patrick,
On Mon, 4 Feb 2019 at 03:15, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> The content dm_ofnode_pre_reloc() is identical with ofnode_pre_reloc()
> defined in drivers/core/ofnode.c and used only one time
> in drivers/core/lists.c:lists_bind_fdt().
>
> So the function can be removed and directly call ofnode_pre_reloc.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> drivers/core/lists.c | 2 +-
> drivers/core/util.c | 26 --------------------------
> include/dm/util.h | 27 ---------------------------
> 3 files changed, 1 insertion(+), 54 deletions(-)
I think the docs for ofnode_pre_reloc() need updating.
Regards,
Simon
More information about the U-Boot
mailing list