regulator: core: Decouple regulators on regulator_unregister()
authorDmitry Osipenko <digetx@gmail.com>
Fri, 5 Oct 2018 15:36:36 +0000 (18:36 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 8 Nov 2018 16:20:50 +0000 (16:20 +0000)
commit6303f3e78b6fd3f84dbe7f2fa4f108d47061d1fb
tree477c6d533f590539857d4981466fcf639dc47e21
parent85254bcf394f93a8955814da1eef4d477b63eb84
regulator: core: Decouple regulators on regulator_unregister()

Regulators shall be uncoupled if one of the couples disappear.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c