pinctrl: sirf: atlas7: Add missing 'of_node_put()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 20 Dec 2016 05:40:43 +0000 (06:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Nov 2017 08:39:12 +0000 (08:39 +0000)
commit12ad98540eee7ce3a82bdf44d95126c1078e5049
tree317da384bdc14221b58a5ba3f6da67908828ad48
parent92a0b74202de21582c951f5a1f2734f4f4df2d8d
pinctrl: sirf: atlas7: Add missing 'of_node_put()'

[ Upstream commit 7af355e6715b325d8af29822f4c3dbecd7eeebec ]

Reference to 'sys2pci_np' should be dropped in all cases here, not only in
error handling path.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/sirf/pinctrl-atlas7.c