[ARM] tegra: remove hdmi enable/disable function in board-stingray
authorErik Gilling <konkers@android.com>
Fri, 15 Oct 2010 01:28:21 +0000 (18:28 -0700)
committerErik Gilling <konkers@android.com>
Mon, 18 Oct 2010 19:17:08 +0000 (12:17 -0700)
The functions toggled the depricated vwlan2 regulator

Change-Id: I55b1dda27ffcc44b50ec45795d4607e4713f9ef3
Signed-off-by: Erik Gilling <konkers@android.com>
arch/arm/mach-tegra/board-stingray-panel.c

index fcbb643d65799f1a4c554a462bed6cf73be51764..14c7d5df0f6100f90ef1988155da415c70bbec55 100644 (file)
@@ -190,26 +190,6 @@ static int stingray_hdmi_init(void)
        return 0;
 }
 
-static int stingray_hdmi_enable(void)
-{
-       if (!stingray_hdmi_reg) {
-               stingray_hdmi_reg = regulator_get(NULL, "vwlan2");
-               if (IS_ERR_OR_NULL(stingray_hdmi_reg)) {
-                       pr_err("hdmi: couldn't get regulator vwlan2\n");
-                       stingray_hdmi_reg = NULL;
-                       return PTR_ERR(stingray_hdmi_reg);
-               }
-       }
-       regulator_enable(stingray_hdmi_reg);
-       return 0;
-}
-
-static int stingray_hdmi_disable(void)
-{
-       regulator_disable(stingray_hdmi_reg);
-       return 0;
-}
-
 static struct tegra_dc_out stingray_disp2_out = {
        .type = TEGRA_DC_OUT_HDMI,
        .flags = TEGRA_DC_OUT_HOTPLUG_HIGH,
@@ -219,9 +199,6 @@ static struct tegra_dc_out stingray_disp2_out = {
 
        .align = TEGRA_DC_ALIGN_MSB,
        .order = TEGRA_DC_ORDER_RED_BLUE,
-
-       .enable = stingray_hdmi_enable,
-       .disable = stingray_hdmi_disable,
 };
 
 static struct tegra_fb_data stingray_disp2_fb_data = {