ARM: pxa: Use REGULATOR_SUPPLY macro
[deliverable/linux.git] / arch / arm / mach-pxa / stargate2.c
index 4cd645e29b64aa06215f937436dfaa94e52a0258..30b1b0b3c7f7cd26dbd53732aca076ce873f29db 100644 (file)
@@ -151,10 +151,7 @@ static struct platform_device sht15 = {
 };
 
 static struct regulator_consumer_supply stargate2_sensor_3_con[] = {
-       {
-               .dev_name = "sht15",
-               .supply = "vcc",
-       },
+       REGULATOR_SUPPLY("vcc", "sht15"),
 };
 
 enum stargate2_ldos{
This page took 0.025493 seconds and 5 git commands to generate.