commit | 20da2dce65873052d492b946cab7f1e343c4a1e0 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun May 13 18:35:56 2012 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:15:08 2020 +0200 |
tree | 85df556815f9a48efbb8b6c8eafea21ea79a064c | |
parent | 2462be5cf133d647d4d40db7a211b562b13a7199 [diff] |
regulator: core: Release regulator-regulator supplies on error commit e81dba85c6388dfabcb76cbc2b8bd02836a53ae5 upstream. If we fail while registering a regulator make sure we release the supply for the regulator if there is one. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>