]> 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)
commite16bf905707e3a96f2db00f7c4d6749bd8b7f128
tree1fc3c1c9ca7414b41bae068311d8d5914c1b30a6
parent81be07afe0fc189fbeb20c7b42c746c9ff76e11b
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