diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-01-26 23:13:44 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-12 13:05:31 +0100 |
commit | 30966861a7a2051457be8c49466887d78cc47e97 (patch) | |
tree | cd1a14e963fac14c37ebfb33c72db1b921c21fa2 /drivers/regulator/pcf50633-regulator.c | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-30966861a7a2051457be8c49466887d78cc47e97.tar.xz linux-30966861a7a2051457be8c49466887d78cc47e97.zip |
regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'
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>
Diffstat (limited to 'drivers/regulator/pcf50633-regulator.c')
0 files changed, 0 insertions, 0 deletions