aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorpascal paillet <p.paillet@st.com>2018-07-05 14:25:57 +0000
committerMark Brown <broonie@kernel.org>2018-07-05 18:07:45 +0100
commit0380cf7dbaca75c524e34b30979f0806124fa8e6 (patch)
treed90c1e5c8dd54e58afd83ca70fa918a47a027ea5 /include/linux/regulator
parentregulator: Revert "regulator: pfuze100: add enable/disable for switch" (diff)
downloadlinux-dev-0380cf7dbaca75c524e34b30979f0806124fa8e6.tar.xz
linux-dev-0380cf7dbaca75c524e34b30979f0806124fa8e6.zip
regulator: core: Change suspend_late to suspend
Change suspend_late ops to suspend normal ops. The goal is to avoid requesting all the regulator drivers to be operational in suspend late phase. Signed-off-by: pascal paillet <p.paillet@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index dea96ee39fdc..0fd8fbb74763 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -220,7 +220,7 @@ struct regulator_ops {
/* set regulator suspend operating mode (defined in consumer.h) */
int (*set_suspend_mode) (struct regulator_dev *, unsigned int mode);
- int (*resume_early)(struct regulator_dev *rdev);
+ int (*resume)(struct regulator_dev *rdev);
int (*set_pull_down) (struct regulator_dev *);
};