summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/bq24022.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-05-13 17:33:01 +0800
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-05-25 10:16:02 +0100
commit64714354a45a58a072cfc926db0a078611a63d43 (patch)
tree791581c2c40bbc13a3dccd9279ed42d1013b6f36 /drivers/regulator/bq24022.c
parent3e3d3be79c75a214cd81454bb891980532d8ca89 (diff)
Regulators: ab3100/bq24022: add a missing .owner field in regulator_desc
This patch adds a missing .owner field in regulator_desc, which is used for refcounting. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/bq24022.c')
-rw-r--r--drivers/regulator/bq24022.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/bq24022.c b/drivers/regulator/bq24022.c
index d08cd9b66c6..068d488a4f7 100644
--- a/drivers/regulator/bq24022.c
+++ b/drivers/regulator/bq24022.c
@@ -78,6 +78,7 @@ static struct regulator_desc bq24022_desc = {
.name = "bq24022",
.ops = &bq24022_ops,
.type = REGULATOR_CURRENT,
+ .owner = THIS_MODULE,
};
static int __init bq24022_probe(struct platform_device *pdev)