regulator: core: Release regulator-regulator supplies on error
If we fail while registering a regulator make sure we release the supply for the regulator if there is one. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NLiam Girdwood <lrg@ti.com> Cc: stable@vger.kernel.org
Showing
想要评论请 注册 或 登录