fdt: remove fdtdec_get_alias_node() function
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 21 Nov 2014 10:47:08 +0000 (19:47 +0900)
committerSimon Glass <sjg@chromium.org>
Thu, 27 Nov 2014 16:12:30 +0000 (09:12 -0700)
commit0bd4e39d2ba477f3c274aa233f5c2e1d25dbaa74
treefe49a373528151bd1ab3b95f6bdbbf3a40fd32d3
parent85bafb6da4dddfffa78479aa49a72ae48578a4ce
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 <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial-uclass.c
include/fdtdec.h
lib/fdtdec.c