diff options
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | 2019-02-14 16:15:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-14 17:45:30 +0300 |
commit | e3233d7f2bb5a1362570f3013b1d4b95f3105613 (patch) | |
tree | 5a4b81a95a86811d898a8bc53521f5bbedd2493a /drivers/regulator/bd70528-regulator.c | |
parent | c79fba835ca8a5affe3564a7a2b4f90bbcdfde36 (diff) | |
download | linux-e3233d7f2bb5a1362570f3013b1d4b95f3105613.tar.xz |
regulator: bd70528: drop struct bd70528
As a result of exporting the bd70528 specific locking functions
we no longer need struct bd70528. Remove references to
struct bd70528 from bd70528 regulator.
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/bd70528-regulator.c')
-rw-r--r-- | drivers/regulator/bd70528-regulator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/bd70528-regulator.c b/drivers/regulator/bd70528-regulator.c index 72c7f9aa84f3..30e3ed430a8a 100644 --- a/drivers/regulator/bd70528-regulator.c +++ b/drivers/regulator/bd70528-regulator.c @@ -246,7 +246,7 @@ static const struct regulator_desc bd70528_desc[] = { static int bd70528_probe(struct platform_device *pdev) { - struct bd70528 *bd70528; + struct rohm_regmap_dev *bd70528; int i; struct regulator_config config = { .dev = pdev->dev.parent, @@ -258,7 +258,7 @@ static int bd70528_probe(struct platform_device *pdev) return -EINVAL; } - config.regmap = bd70528->chip.regmap; + config.regmap = bd70528->regmap; for (i = 0; i < ARRAY_SIZE(bd70528_desc); i++) { struct regulator_dev *rdev; |