summaryrefslogtreecommitdiff
path: root/include/linux/regulator/driver.h
diff options
context:
space:
mode:
authorpascal paillet <p.paillet@st.com>2018-07-05 17:25:57 +0300
committerMark Brown <broonie@kernel.org>2018-07-05 20:07:45 +0300
commit0380cf7dbaca75c524e34b30979f0806124fa8e6 (patch)
treed90c1e5c8dd54e58afd83ca70fa918a47a027ea5 /include/linux/regulator/driver.h
parent464a5686e6c9df364fbfa9a6d0f61276a777d550 (diff)
downloadlinux-0380cf7dbaca75c524e34b30979f0806124fa8e6.tar.xz
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/driver.h')
-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 *);
};