Commit 0e2576ce authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ARM: U300: Don't specify regulator consumers by struct device

The dev field is remove from struct regulator_consumer_supply since commit
737f36 "regulator: Remove support for supplies specified by struct device".

This fixes below build error:
  CC      arch/arm/mach-u300/i2c.o
arch/arm/mach-u300/i2c.c:63: error: unknown field 'dev' specified in initializer
arch/arm/mach-u300/i2c.c:95: error: unknown field 'dev' specified in initializer
make[1]: *** [arch/arm/mach-u300/i2c.o] Error 1
make: *** [arch/arm/mach-u300] Error 2
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 1b65fa84
...@@ -60,7 +60,6 @@ static struct regulator_consumer_supply supply_ldo_c[] = { ...@@ -60,7 +60,6 @@ static struct regulator_consumer_supply supply_ldo_c[] = {
*/ */
static struct regulator_consumer_supply supply_ldo_d[] = { static struct regulator_consumer_supply supply_ldo_d[] = {
{ {
.dev = NULL,
.supply = "vana15", /* Powers the SoC (CPU etc) */ .supply = "vana15", /* Powers the SoC (CPU etc) */
}, },
}; };
...@@ -92,7 +91,6 @@ static struct regulator_consumer_supply supply_ldo_k[] = { ...@@ -92,7 +91,6 @@ static struct regulator_consumer_supply supply_ldo_k[] = {
*/ */
static struct regulator_consumer_supply supply_ldo_ext[] = { static struct regulator_consumer_supply supply_ldo_ext[] = {
{ {
.dev = NULL,
.supply = "vext", /* External power */ .supply = "vext", /* External power */
}, },
}; };
......
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