Commit b5930b83 authored by Mark Brown's avatar Mark Brown Committed by Kukjin Kim

ARM: S3C64XX: Convert to using REGULATOR_SUPPLY() on SMDK6410

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 620917de
...@@ -209,17 +209,9 @@ static struct platform_device smdk6410_smsc911x = { ...@@ -209,17 +209,9 @@ static struct platform_device smdk6410_smsc911x = {
}; };
#ifdef CONFIG_REGULATOR #ifdef CONFIG_REGULATOR
static struct regulator_consumer_supply smdk6410_b_pwr_5v_consumers[] = { static struct regulator_consumer_supply smdk6410_b_pwr_5v_consumers[] __initdata = {
{ REGULATOR_SUPPLY("PVDD", "0-001b"),
/* WM8580 */ REGULATOR_SUPPLY("AVDD", "0-001b"),
.supply = "PVDD",
.dev_name = "0-001b",
},
{
/* WM8580 */
.supply = "AVDD",
.dev_name = "0-001b",
},
}; };
static struct regulator_init_data smdk6410_b_pwr_5v_data = { static struct regulator_init_data smdk6410_b_pwr_5v_data = {
...@@ -344,9 +336,7 @@ static struct platform_device *smdk6410_devices[] __initdata = { ...@@ -344,9 +336,7 @@ static struct platform_device *smdk6410_devices[] __initdata = {
#ifdef CONFIG_REGULATOR #ifdef CONFIG_REGULATOR
/* ARM core */ /* ARM core */
static struct regulator_consumer_supply smdk6410_vddarm_consumers[] = { static struct regulator_consumer_supply smdk6410_vddarm_consumers[] = {
{ REGULATOR_SUPPLY("vddarm", NULL),
.supply = "vddarm",
}
}; };
/* VDDARM, BUCK1 on J5 */ /* VDDARM, BUCK1 on J5 */
...@@ -484,11 +474,7 @@ static struct regulator_init_data wm8350_dcdc3_data = { ...@@ -484,11 +474,7 @@ static struct regulator_init_data wm8350_dcdc3_data = {
/* USB, EXT, PCM, ADC/DAC, USB, MMC */ /* USB, EXT, PCM, ADC/DAC, USB, MMC */
static struct regulator_consumer_supply wm8350_dcdc4_consumers[] = { static struct regulator_consumer_supply wm8350_dcdc4_consumers[] = {
{ REGULATOR_SUPPLY("DVDD", "0-001b"),
/* WM8580 */
.supply = "DVDD",
.dev_name = "0-001b",
},
}; };
static struct regulator_init_data wm8350_dcdc4_data = { static struct regulator_init_data wm8350_dcdc4_data = {
...@@ -599,7 +585,7 @@ static struct regulator_init_data wm1192_dcdc3 = { ...@@ -599,7 +585,7 @@ static struct regulator_init_data wm1192_dcdc3 = {
}; };
static struct regulator_consumer_supply wm1192_ldo1_consumers[] = { static struct regulator_consumer_supply wm1192_ldo1_consumers[] = {
{ .supply = "DVDD", .dev_name = "0-001b", }, /* WM8580 */ REGULATOR_SUPPLY("DVDD", "0-001b"), /* WM8580 */
}; };
static struct regulator_init_data wm1192_ldo1 = { static struct regulator_init_data wm1192_ldo1 = {
......
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