From 75e0b08ee55b32b996d491809ce60b63287dadf5 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 5 Dec 2008 11:29:24 +0000 Subject: fix-jbt6k74-display-onoff-gone.patch Signed-off-by: Andy Green --- drivers/video/display/jbt6k74.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'drivers') 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); -- cgit v1.2.3