diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-01-26 23:13:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-30 07:49:17 +0200 |
| commit | ee2960ca472b560038d301a15632cdd6621311ac (patch) | |
| tree | 02853400220562a7b2ce7431017a127b529a5bc9 /drivers/xen/xen-acpi-processor.c | |
| parent | 25f7f5362ec11e1482e5c1365a56ca02cf985b38 (diff) | |
regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'
[ Upstream commit 30966861a7a2051457be8c49466887d78cc47e97 ]
If an unlikely failure in 'of_get_regulator_init_data()' occurs, we must
release the reference on the current 'child' node before returning.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/xen/xen-acpi-processor.c')
0 files changed, 0 insertions, 0 deletions
