projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea7b971
)
regulator: max77620: Add missing .owner field in regulator_desc
author
Axel Lin
<
[email protected]
>
Wed, 20 Feb 2019 01:53:27 +0000
(09:53 +0800)
committer
Mark Brown
<
[email protected]
>
Wed, 20 Feb 2019 16:46:26 +0000
(16:46 +0000)
Add missing .owner field in regulator_desc, which is used for refcounting.
Signed-off-by: Axel Lin <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/regulator/max77620-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max77620-regulator.c
b/drivers/regulator/max77620-regulator.c
index cd93cf53e23c08c951346b9ff895a4a40a699d01..1607ac673e44591d1cb1dc6ef9b6e2cb701e4138 100644
(file)
--- a/
drivers/regulator/max77620-regulator.c
+++ b/
drivers/regulator/max77620-regulator.c
@@
-690,6
+690,7
@@
static const struct regulator_ops max77620_regulator_ops = {
.active_discharge_mask = MAX77620_SD_CFG1_ADE_MASK, \
.active_discharge_reg = MAX77620_REG_##_id##_CFG, \
.type = REGULATOR_VOLTAGE, \
+ .owner = THIS_MODULE, \
}, \
}
@@
-721,6
+722,7
@@
static const struct regulator_ops max77620_regulator_ops = {
.active_discharge_mask = MAX77620_LDO_CFG2_ADE_MASK, \
.active_discharge_reg = MAX77620_REG_##_id##_CFG2, \
.type = REGULATOR_VOLTAGE, \
+ .owner = THIS_MODULE, \
}, \
}