Commit e3233d7f authored by Matti Vaittinen's avatar Matti Vaittinen Committed by Mark Brown

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: default avatarMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c79fba83
...@@ -246,7 +246,7 @@ static const struct regulator_desc bd70528_desc[] = { ...@@ -246,7 +246,7 @@ static const struct regulator_desc bd70528_desc[] = {
static int bd70528_probe(struct platform_device *pdev) static int bd70528_probe(struct platform_device *pdev)
{ {
struct bd70528 *bd70528; struct rohm_regmap_dev *bd70528;
int i; int i;
struct regulator_config config = { struct regulator_config config = {
.dev = pdev->dev.parent, .dev = pdev->dev.parent,
...@@ -258,7 +258,7 @@ static int bd70528_probe(struct platform_device *pdev) ...@@ -258,7 +258,7 @@ static int bd70528_probe(struct platform_device *pdev)
return -EINVAL; return -EINVAL;
} }
config.regmap = bd70528->chip.regmap; config.regmap = bd70528->regmap;
for (i = 0; i < ARRAY_SIZE(bd70528_desc); i++) { for (i = 0; i < ARRAY_SIZE(bd70528_desc); i++) {
struct regulator_dev *rdev; struct regulator_dev *rdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment