regulator: core: Add new notification for enabling of regulator
authorHarald Geyer <harald@ccbib.org>
Thu, 23 Feb 2017 17:06:52 +0000 (17:06 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 24 Mar 2017 19:13:42 +0000 (19:13 +0000)
commit264b88c9e5c86c92ca1d67689779362760baf651
tree5d2cda2e7179053726745384098aafe03f75388f
parentd00b74613fb18dfd0a5aa99270ee2e72d5c808d7
regulator: core: Add new notification for enabling of regulator

This is useful for devices, which need some time to start up, to help
the drivers track how long the supply has been up already. Ie whether
it can safely talk to the HW or needs to wait.

Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
include/linux/regulator/consumer.h