ARM: pxa: Use REGULATOR_SUPPLY macro
[deliverable/linux.git] / arch / arm / mach-pxa / magician.c
index 8de0651d7efbdffb3c509814f7ded4bab8149ec6..2db697cd2b4ecc9fcb3be872aa0f82cd276b0577 100644 (file)
@@ -579,12 +579,8 @@ static struct platform_device power_supply = {
  */
 
 static struct regulator_consumer_supply bq24022_consumers[] = {
-       {
-               .supply = "vbus_draw",
-       },
-       {
-               .supply = "ac_draw",
-       },
+       REGULATOR_SUPPLY("vbus_draw", NULL),
+       REGULATOR_SUPPLY("ac_draw", NULL),
 };
 
 static struct regulator_init_data bq24022_init_data = {
This page took 0.026875 seconds and 5 git commands to generate.