diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-02-20 04:53:27 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-20 19:46:26 +0300 |
commit | 96173b8c8b1cbbc39436b1592f37255ee5e723cb (patch) | |
tree | dbc9e33ce912c911a5d586e477d5c4e53dd0eab5 | |
parent | ea7b971cd64b45c6be08c02e14d30ec3c9a5b336 (diff) | |
download | linux-96173b8c8b1cbbc39436b1592f37255ee5e723cb.tar.xz |
regulator: max77620: Add missing .owner field in regulator_desc
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@kernel.org>
-rw-r--r-- | drivers/regulator/max77620-regulator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/max77620-regulator.c b/drivers/regulator/max77620-regulator.c index cd93cf53e23c..1607ac673e44 100644 --- 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, \ }, \ } |