regulator: core: Add PRE_DISABLE notification
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Mon, 24 Nov 2014 14:10:52 +0000 (14:10 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Nov 2014 15:26:02 +0000 (15:26 +0000)
Add a PRE_DISABLE notification so that consumers can use a
notifier to run any steps required to prepare for the
regulator being switched off. Since the regulator disable
can fail an abort notification is also added.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found