fdtdec: Use fdt_setprop_u32() for fdtdec_set_phandle()
authorThierry Reding <treding@nvidia.com>
Mon, 15 Apr 2019 08:08:20 +0000 (10:08 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Apr 2019 02:26:43 +0000 (20:26 -0600)
commitd81d96901eacfc9ffbe7c26a8d9b55d02b3fcb0c
tree8caa202a32ec5f9bc121180dc8b3f6444c314080
parentf2100f6f77212e2a5b3db165e84eed911be5c3f6
fdtdec: Use fdt_setprop_u32() for fdtdec_set_phandle()

The fdt_setprop_u32() function does everything that we need, so we
really only use the function as a convenience wrapper, in which case it
can simply be a static inline function.

Signed-off-by: Thierry Reding <treding@nvidia.com>
include/fdtdec.h
lib/fdtdec.c