commit | a1c8a5512b7cddc81767172f0de37b155cea039f | [log] [tgz] |
---|---|---|
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | Mon Nov 24 14:10:52 2014 +0000 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 24 15:26:02 2014 +0000 |
tree | 23404a6a919910d9909d5261e0119748ade7e725 | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 [diff] |
regulator: core: Add PRE_DISABLE notification 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>