diff options
author | Axel Lin <axel.lin@ingics.com> | 2018-08-27 16:15:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-28 20:41:36 +0200 |
commit | 46942b21a95ffd1476c82b3a8683a1caa58b6f40 (patch) | |
tree | 991cf540a056b7cff3a6a6ef28c87e645fdc3e46 /drivers | |
parent | regulator: Convert to using %pOFn instead of device_node.name (diff) | |
download | linux-46942b21a95ffd1476c82b3a8683a1caa58b6f40.tar.xz linux-46942b21a95ffd1476c82b3a8683a1caa58b6f40.zip |
regulator: isl9305: 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/isl9305.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/regulator/isl9305.c b/drivers/regulator/isl9305.c index 257c1943e753..9c2607e912cf 100644 --- a/drivers/regulator/isl9305.c +++ b/drivers/regulator/isl9305.c @@ -84,6 +84,7 @@ static const struct regulator_desc isl9305_regulators[] = { .enable_mask = ISL9305_DCD1_EN, .supply_name = "VINDCD1", .ops = &isl9305_ops, + .owner = THIS_MODULE, }, [ISL9305_DCD2] = { .name = "DCD2", @@ -98,6 +99,7 @@ static const struct regulator_desc isl9305_regulators[] = { .enable_mask = ISL9305_DCD2_EN, .supply_name = "VINDCD2", .ops = &isl9305_ops, + .owner = THIS_MODULE, }, [ISL9305_LDO1] = { .name = "LDO1", @@ -112,6 +114,7 @@ static const struct regulator_desc isl9305_regulators[] = { .enable_mask = ISL9305_LDO1_EN, .supply_name = "VINLDO1", .ops = &isl9305_ops, + .owner = THIS_MODULE, }, [ISL9305_LDO2] = { .name = "LDO2", @@ -126,6 +129,7 @@ static const struct regulator_desc isl9305_regulators[] = { .enable_mask = ISL9305_LDO2_EN, .supply_name = "VINLDO2", .ops = &isl9305_ops, + .owner = THIS_MODULE, }, }; |