Skip to content
Commit dbc3c629 authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Linus Walleij
Browse files

ARM: ux500: add missing of_node_put()



 of_find_compatible_node() returns a pointer with refcount incremented
so both in the error path as well as after usage in soc_info_populate()
respectively actually b8500_read_soc_id() an explicit of_node_put is
needed to release backupram.

Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
Fixes: commit 18a99278 ("ARM: ux500: move soc_id driver to drivers/soc")
Acked-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7a8689df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment