projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c00dc35
)
regulator: dummy: Should be always-on
author
Markus Pargmann
<mpa@pengutronix.de>
Tue, 25 Feb 2014 10:03:46 +0000
(11:03 +0100)
committer
Mark Brown
<broonie@linaro.org>
Tue, 25 Feb 2014 23:49:52 +0000
(08:49 +0900)
Regulator dummy does not have any enable operations. So it is always_on.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/dummy.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/dummy.c
b/drivers/regulator/dummy.c
index df9f42524abb3fd1164f61e7bee4065985d59d24..2436db9e2ca35f60875ab56cc825050c0d6a3ff2 100644
(file)
--- a/
drivers/regulator/dummy.c
+++ b/
drivers/regulator/dummy.c
@@
-25,7
+25,11
@@
struct regulator_dev *dummy_regulator_rdev;
-static struct regulator_init_data dummy_initdata;
+static struct regulator_init_data dummy_initdata = {
+ .constraints = {
+ .always_on = 1,
+ },
+};
static struct regulator_ops dummy_ops;