[PATCH 4.18 171/235] ARM: hisi: fix error handling and missing of_node_put