diff options
author | Alan Cox <alan@linux.intel.com> | 2011-07-05 14:40:03 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-05 15:20:41 (GMT) |
commit | 89e5d557171c5ce12c6f149633538582fe10ebb0 (patch) | |
tree | d521920a4ddcf55b8bca304fea1ac9e25de5f7b0 | |
parent | 80f51c32c4b52e88c192de8471135dbbd158cc13 (diff) | |
download | linux-fsl-qoriq-89e5d557171c5ce12c6f149633538582fe10ebb0.tar.xz |
gma500: remove an un-needed check
This is a Medfield only path
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/gma500/mdfld_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gma500/mdfld_device.c b/drivers/staging/gma500/mdfld_device.c index 3955448..e66d04a 100644 --- a/drivers/staging/gma500/mdfld_device.c +++ b/drivers/staging/gma500/mdfld_device.c @@ -589,7 +589,7 @@ static int mdfld_restore_display_registers(struct drm_device *dev, int pipe) PSB_WVDC32(palette_val[i], palette_reg + (i<<2)); if (pipe == 1) return 0; - if (IS_MFLD(dev) && !mdfld_panel_dpi(dev)) + if (!mdfld_panel_dpi(dev)) mdfld_enable_te(dev, pipe); return 0; } |