Re: [PATCH] regulator: core: Add PRE_DISABLE notification

2014-11-24 Thread Mark Brown
On Mon, Nov 24, 2014 at 02:10:52PM +, Richard Fitzgerald wrote: > 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. Appli

[PATCH] regulator: core: Add PRE_DISABLE notification

2014-11-24 Thread Richard Fitzgerald
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 --- drivers/regulator/core.c | 16