summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-panel.c
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-08-25 14:04:14 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:48:40 -0800
commitbceb821e47648ff7e63be15af9373a8c3ad11852 (patch)
treeaf428df1e20489f7b2385efd9ab8aa523d8a2f68 /arch/arm/mach-tegra/board-cardhu-panel.c
parentb537870ed1880f7f52eec17e115727a53b58ed27 (diff)
ARM: tegra: cardhu: Fix (or suppress) warnings
Change-Id: Ie1ec67106ffb4cf38415095a8db31d01fe1d5e10 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/49274 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R23e65a63d3f2869217af5cc7952ea64931ba4924
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-panel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-panel.c b/arch/arm/mach-tegra/board-cardhu-panel.c
index 6fb80ad6d5df..295f4486fcaf 100644
--- a/arch/arm/mach-tegra/board-cardhu-panel.c
+++ b/arch/arm/mach-tegra/board-cardhu-panel.c
@@ -189,7 +189,6 @@ static void cardhu_backlight_exit(struct device *dev) {
static int cardhu_backlight_notify(struct device *unused, int brightness)
{
int cur_sd_brightness = atomic_read(&sd_brightness);
- int orig_brightness = brightness;
#ifndef CONFIG_TEGRA_CARDHU_DSI
/* Set the backlight GPIO pin mode to 'backlight_enable' */