projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce4eac
)
regulator: max77693: Add missing .owner field in regulator_desc
author
Axel Lin
<axel.lin@ingics.com>
Tue, 24 Dec 2013 13:37:50 +0000
(21:37 +0800)
committer
Mark Brown
<broonie@linaro.org>
Tue, 24 Dec 2013 13:44:50 +0000
(13:44 +0000)
Add missing .owner field in regulator_desc, which is used for refcounting.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max77693.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max77693.c
b/drivers/regulator/max77693.c
index feb20bf4ccab4b056003896773ae86dec5c7219e..5fb899f461d0c47a666715fc6bf3813083ee17a3 100644
(file)
--- a/
drivers/regulator/max77693.c
+++ b/
drivers/regulator/max77693.c
@@
-138,6
+138,7
@@
static struct regulator_ops max77693_charger_ops = {
.n_voltages = 4, \
.ops = &max77693_safeout_ops, \
.type = REGULATOR_VOLTAGE, \
+ .owner = THIS_MODULE, \
.volt_table = max77693_safeout_table, \
.vsel_reg = MAX77693_CHG_REG_SAFEOUT_CTRL, \
.vsel_mask = SAFEOUT_CTRL_SAFEOUT##_num##_MASK, \