aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-12-05 11:29:24 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-12-05 11:29:24 +0000
commit75e0b08ee55b32b996d491809ce60b63287dadf5 (patch)
tree90cbd498d692a6c1872e362f73d4dd2c70ba8fde /drivers/video
parent8dd1dc8bf69e964f3055b989e5f833810a670f5f (diff)
fix-jbt6k74-display-onoff-gone.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/display/jbt6k74.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/video/display/jbt6k74.c b/drivers/video/display/jbt6k74.c
index 6beaea4caf6..a1d48ddbc02 100644
--- a/drivers/video/display/jbt6k74.c
+++ b/drivers/video/display/jbt6k74.c
@@ -555,10 +555,6 @@ static ssize_t reset_write(struct device *dev, struct device_attribute *attr,
break;
}
- rc = jbt6k74_display_onoff(jbt, 1);
- if (rc < 0)
- dev_err(dev, "cannot switch display on\n");
-
return count;
}
@@ -769,10 +765,6 @@ int jbt6k74_resume(struct spi_device *spi)
break;
}
- rc = jbt6k74_display_onoff(jbt, 1);
- if (rc < 0)
- dev_err(&spi->dev, "cannot switch display on\n");
-
if (jbt6k74_pdata->resuming)
(jbt6k74_pdata->resuming)(0);