arm: mach: tegra: roth: removed unused regulator code
Narayan Reddy [Mon, 19 Nov 2012 17:50:30 +0000 (09:50 -0800)]
removed GPS regilator code since not supported for THOR.

Bug 1176686

Change-Id: If612bec788b4c8d8fefc596aa16ec13e9b42cd99
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/164741
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/167527
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

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

index 2a1ad31..25ef5b4 100644 (file)
@@ -598,28 +598,6 @@ static int __init roth_cl_dvfs_init(void)
 }
 #endif
 
-static struct regulator_bulk_data roth_gps_regulator_supply[] = {
-       [0] = {
-               .supply = "vdd_gps_3v3",
-       },
-       [1] = {
-               .supply = "vdd_gps_1v8",
-       },
-};
-
-static struct regulator_userspace_consumer_data roth_gps_regulator_pdata = {
-       .num_supplies   = ARRAY_SIZE(roth_gps_regulator_supply),
-       .supplies       = roth_gps_regulator_supply,
-};
-
-static struct platform_device roth_gps_regulator_device = {
-       .name   = "reg-userspace-consumer",
-       .id     = 2,
-       .dev    = {
-                       .platform_data = &roth_gps_regulator_pdata,
-       },
-};
-
 static struct regulator_bulk_data roth_bt_regulator_supply[] = {
        [0] = {
                .supply = "vdd_bt_3v3",
@@ -664,7 +642,6 @@ int __init roth_regulator_init(void)
        i2c_register_board_info(4, tps51632_boardinfo, 1);
        platform_device_register(&roth_pda_power_device);
        platform_device_register(&roth_bt_regulator_device);
-       platform_device_register(&roth_gps_regulator_device);
        return 0;
 }