]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: uniphier: Fix probe error handling
authorAxel Lin <axel.lin@ingics.com>
Wed, 30 Jan 2019 07:11:09 +0000 (15:11 +0800)
committerMark Brown <broonie@kernel.org>
Sat, 2 Feb 2019 16:00:04 +0000 (16:00 +0000)
commit81630c3b148d5dd1c261db458994263d0df4f4e7
tree1fc3c1c9ca7414b41bae068311d8d5914c1b30a6
parent09231165c72bb094662fc68898c90189603a26cf
regulator: uniphier: Fix probe error handling

Ensure unwind all resources if probe fails.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/uniphier-regulator.c