summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-apalis_t30-panel.c
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-10-22 14:17:44 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-10-22 14:17:44 +0200
commitd831d2d2a2459419ab1b9eeec55d816c72920556 (patch)
tree78667ea82b42a95622595d12371f8915536e5e8b /arch/arm/mach-tegra/board-apalis_t30-panel.c
parentd0289ab23da17186989c3467014a63980c906cf8 (diff)
Clean-up GPIO definitions and names (e.g. use LVDS_ defines, BKL1_ON rather than BL_ON and HDMI1_HPD rather than hdmi_hpd).
Diffstat (limited to 'arch/arm/mach-tegra/board-apalis_t30-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-apalis_t30-panel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-apalis_t30-panel.c b/arch/arm/mach-tegra/board-apalis_t30-panel.c
index 8be309edf52c..aac0db6f6a05 100644
--- a/arch/arm/mach-tegra/board-apalis_t30-panel.c
+++ b/arch/arm/mach-tegra/board-apalis_t30-panel.c
@@ -45,8 +45,8 @@
#include "gpio-names.h"
#include "tegra3_host1x_devices.h"
-#define apalis_t30_bl_enb TEGRA_GPIO_PV2 /* BL_ON */
-#define apalis_t30_hdmi_hpd TEGRA_GPIO_PN7 /* HDMI_INT_N */
+#define apalis_t30_bl_enb BKL1_ON
+#define apalis_t30_hdmi_hpd HDMI1_HPD
static struct regulator *apalis_t30_hdmi_pll = NULL;
static struct regulator *apalis_t30_hdmi_reg = NULL;
@@ -55,7 +55,7 @@ static struct regulator *apalis_t30_hdmi_vddio = NULL;
static int apalis_t30_backlight_init(struct device *dev) {
int ret;
- ret = gpio_request(apalis_t30_bl_enb, "BL_ON");
+ ret = gpio_request(apalis_t30_bl_enb, "BKL1_ON");
if (ret < 0)
return ret;
@@ -738,7 +738,7 @@ int __init apalis_t30_panel_init(void)
void __iomem *to_io;
/* enable hdmi hotplug gpio for hotplug detection */
- gpio_request(apalis_t30_hdmi_hpd, "hdmi_hpd");
+ gpio_request(apalis_t30_hdmi_hpd, "HDMI1_HPD");
gpio_direction_input(apalis_t30_hdmi_hpd);
#ifdef CONFIG_HAS_EARLYSUSPEND