diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-11 13:23:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-11 13:34:04 +0300 |
commit | 63879e2964bceee2aa5bbe8b99ea58bba28bb64f (patch) | |
tree | f1c9c43ea115fcf9f15306898928d372055753ea /drivers/misc/eeprom/at25.c | |
parent | fd307a4ad332ef50be5569c92490219e7cd84ce5 (diff) | |
download | linux-63879e2964bceee2aa5bbe8b99ea58bba28bb64f.tar.xz |
nvmem: core: add a missing of_node_put
'for_each_child_of_node' performs an of_node_get on each iteration, so a
return from the middle of the loop requires an of_node_put.
Fixes: e888d445ac33 ("nvmem: resolve cells from DT at registration time")
Cc: <stable@vger.kernel.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210611102321.11509-1-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/eeprom/at25.c')
0 files changed, 0 insertions, 0 deletions