]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/regulator/uniphier-regulator.c
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)
commit33cd870c4bf148163e8b7c6e3bac2a44658a04e4
tree1fc3c1c9ca7414b41bae068311d8d5914c1b30a6
parentd02337709390c854186c6a21f997dc39760591e1
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