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
---
drivers/regulator/gpio-regulator.c | 16 +++-
1 file changed, 7
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
---
drivers/regulator/gpio-regulator.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff
2 matches
Mail list logo