From: Heiko Stübner Date: Thu, 28 Aug 2014 19:36:04 +0000 (-0700) Subject: regulator: core: Add REGULATOR_EVENT_PRE_VOLTAGE_CHANGE (and ABORT) X-Git-Tag: fixes-for-v3.18-merge-window~31^2^4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7179569aeb52197fd2a9909ba226c4c9cc0e2e2a;p=pandora-kernel.git regulator: core: Add REGULATOR_EVENT_PRE_VOLTAGE_CHANGE (and ABORT) In some cases we need to know when a regulator is about to be changed. Add a way for clients to be notified. Note that for set_voltage() we don't necessarily know what voltage we'll end up with, so we tell the client what the range will be so they can prepare. Signed-off-by: Heiko Stübner Signed-off-by: Doug Anderson Signed-off-by: Mark Brown --- Reading git-diff-tree failed