misc: sram: fix device node reference leak on error
A pointer device node reference should be decremented on manual exit from for_each_available_child_of_node() loop. Signed-off-by: NVladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录