]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-pxa/cm-x300.c
ARM: pxa: Use REGULATOR_SUPPLY macro
[karo-tx-linux.git] / arch / arm / mach-pxa / cm-x300.c
index 31327401627725bbc6fa3a4b3cadfc5426d436cb..3e4e9fe2d462e1a82db41bac884ad5c3a18c078a 100644 (file)
@@ -713,9 +713,7 @@ struct da9030_battery_info cm_x300_battery_info = {
 };
 
 static struct regulator_consumer_supply buck2_consumers[] = {
-       {
-               .supply = "vcc_core",
-       },
+       REGULATOR_SUPPLY("vcc_core", NULL),
 };
 
 static struct regulator_init_data buck2_data = {