ARM: tegra: enterprise: register supply regulator before child regulator
Laxman Dewangan [Fri, 27 Apr 2012 17:15:38 +0000 (22:15 +0530)]
LDO3 has the input from the VIO output and hence VIO should be
register before LDO3 for regulator registration.

bug 976254

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/99446

Change-Id: I6771af3e7eb93886e974695ab3550cdf8ebc52c4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100262
Reviewed-by: Automatic_Commit_Validation_User

arch/arm/mach-tegra/board-enterprise-power.c

index c17c3ea..9238788 100644 (file)
@@ -374,8 +374,8 @@ static struct tps80031_bg_platform_data battery_gauge_data = {
 
 
 static struct tps80031_subdev_info tps80031_devs_a02[] = {
-       TPS80031_DEVS_COMMON,
        TPS_REG(VIO, vio, a02),
+       TPS80031_DEVS_COMMON,
        TPS_REG(SMPS4, smps4, a02),
        TPS_REG(LDO1, ldo1, a02),
        TPS_REG(LDO4, ldo4, a02),
@@ -387,8 +387,8 @@ static struct tps80031_subdev_info tps80031_devs_a02[] = {
 };
 
 static struct tps80031_subdev_info tps80031_devs_a03[] = {
-       TPS80031_DEVS_COMMON,
        TPS_REG(VIO, vio, a03),
+       TPS80031_DEVS_COMMON,
        TPS_REG(SMPS4, smps4, a03),
        TPS_REG(LDO1, ldo1, a03),
        TPS_REG(LDO4, ldo4, a03),