diff options
author | 2018-03-13 21:33:11 +0100 | |
---|---|---|
committer | 2018-03-14 09:37:41 -0700 | |
commit | ed8cffda27dea6fd3dafb3ee881c5a786edac9ca (patch) | |
tree | 46cb7abf33d55e210a6a8ea5046fb11021a05e15 /net/unix/af_unix.c | |
parent | regulator: da9211: Pass descriptors instead of GPIO numbers (diff) | |
download | wireguard-linux-ed8cffda27dea6fd3dafb3ee881c5a786edac9ca.tar.xz wireguard-linux-ed8cffda27dea6fd3dafb3ee881c5a786edac9ca.zip |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions