mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
The device node obtained with of_find_compatible_node() should be released by calling of_node_put(). But it was not released when of_get_property() failed. Signed-off-by: YueHaibing <[email protected]> [mpe: Invert the sense of the if so we only need one return path] Signed-off-by: Michael Ellerman <[email protected]>