summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise-power.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-08-05 13:31:20 +0530
committerLokesh Pathak <lpathak@nvidia.com>2012-08-07 08:46:06 -0700
commit20f1a101e669063e050a26e722bbc292d389352a (patch)
treef24cadcebf3b680834130c3be69a3ad3a226e5af /arch/arm/mach-tegra/board-enterprise-power.c
parentbb4dfdc63e617afe49eb727f70e6638d7e8759c2 (diff)
mfd: tps80031: remove support for subdevs registration
The mfd sub devices should get added through the mfd_add_devices() not through legacy style of adding sub devices. Change-Id: If275d41629d799f1e22d95fd442ebe7d3ace448e Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/121137 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-power.c')
-rw-r--r--arch/arm/mach-tegra/board-enterprise-power.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-power.c b/arch/arm/mach-tegra/board-enterprise-power.c
index cfcfe9e61ec5..f974c49c9f50 100644
--- a/arch/arm/mach-tegra/board-enterprise-power.c
+++ b/arch/arm/mach-tegra/board-enterprise-power.c
@@ -721,9 +721,6 @@ int __init enterprise_regulator_init(void)
battery_gauge_data.battery_present = 0;
}
- tps_platform.num_subdevs = ARRAY_SIZE(tps80031_devs);
- tps_platform.subdevs = tps80031_devs;
-
if (board_info.fab < BOARD_FAB_A03) {
tps_platform.num_regulator_pdata = ARRAY_SIZE(tps80031_reg_pdata_a02);
tps_platform.regulator_pdata = tps80031_reg_pdata_a02;