commit | ed8cffda27dea6fd3dafb3ee881c5a786edac9ca | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Tue Mar 13 21:33:11 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Mar 14 09:37:41 2018 -0700 |
tree | 46cb7abf33d55e210a6a8ea5046fb11021a05e15 | |
parent | 11da04af0d3b4c24ab057dd17f54dbc854d735de [diff] |
regulator: gpio: Fix some error handling paths in 'gpio_regulator_probe()' Re-order error handling code and gotos to avoid leaks in error handling paths. Fixes: 9f946099fe19 ("regulator: gpio: fix parsing of gpio list") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Mark Brown <broonie@kernel.org>