From 0bd4e39d2ba477f3c274aa233f5c2e1d25dbaa74 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 21 Nov 2014 19:47:08 +0900 Subject: fdt: remove fdtdec_get_alias_node() function The fdt_path_offset() checks an alias too. fdtdec_get_alias_node(blob, "foo") is equivalent to fdt_path_offset(blob, "foo"). Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- include/fdtdec.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include/fdtdec.h') diff --git a/include/fdtdec.h b/include/fdtdec.h index 3da9fab95c..911f216cd8 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -389,17 +389,6 @@ int fdtdec_add_aliases_for_id(const void *blob, const char *name, int fdtdec_get_alias_seq(const void *blob, const char *base, int node, int *seqp); -/** - * Get the offset of the given alias node - * - * This looks up an alias in /aliases then finds the offset of that node. - * - * @param blob Device tree blob (if NULL, then error is returned) - * @param name Alias name, e.g. "console" - * @return Node offset referred to by that alias, or -ve FDT_ERR_... - */ -int fdtdec_get_alias_node(const void *blob, const char *name); - /** * Get the offset of the given chosen node * -- cgit v1.2.3