The h_include() function includes a piece which checks if a node contains a property being searched for. Move this into its own function to reduce the size of the h_include() function.
Signed-off-by: Simon Glass <s...@chromium.org> --- tools/fdtgrep.c | 48 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 13 deletions(-) Applied to u-boot-dm/next, thanks!