diff options
author | Alan Cox <alan@linux.intel.com> | 2011-07-05 14:36:19 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-05 15:20:39 (GMT) |
commit | e2e88603c85218cdb7de75d94cc6521c3a180838 (patch) | |
tree | ea5994806a0732417ab8321597323269a837206a /drivers/staging/gma500/psb_intel_display.c | |
parent | 2cf10d23dff547d6018673a30e86490a768b3280 (diff) | |
download | linux-fsl-qoriq-e2e88603c85218cdb7de75d94cc6521c3a180838.tar.xz |
gma500: CodingStyle pass
Start the style cleanup
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/gma500/psb_intel_display.c')
-rw-r--r-- | drivers/staging/gma500/psb_intel_display.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/gma500/psb_intel_display.c b/drivers/staging/gma500/psb_intel_display.c index be7e1f9..1bb2144 100644 --- a/drivers/staging/gma500/psb_intel_display.c +++ b/drivers/staging/gma500/psb_intel_display.c @@ -388,7 +388,7 @@ int psb_intel_pipe_set_base(struct drm_crtc *crtc, dspcntr |= DISPPLANE_32BPP_NO_ALPHA; break; default: - dev_err(dev->dev, "Unknown color depth\n"); + dev_err(dev->dev, "Unknown color depth\n"); ret = -EINVAL; psb_gtt_unpin(psbfb->gtt); goto psb_intel_pipe_set_base_exit; @@ -611,9 +611,9 @@ static int psb_intel_crtc_mode_set(struct drm_crtc *crtc, /* No scan out no play */ if (crtc->fb == NULL) { - crtc_funcs->mode_set_base(crtc, x, y, old_fb); - return 0; - } + crtc_funcs->mode_set_base(crtc, x, y, old_fb); + return 0; + } list_for_each_entry(connector, &mode_config->connector_list, head) { struct psb_intel_output *psb_intel_output = @@ -728,8 +728,8 @@ static int psb_intel_crtc_mode_set(struct drm_crtc *crtc, u32 lvds = REG_READ(LVDS); lvds &= ~LVDS_PIPEB_SELECT; - if (pipe == 1) - lvds |= LVDS_PIPEB_SELECT; + if (pipe == 1) + lvds |= LVDS_PIPEB_SELECT; lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP; /* Set the B0-B3 data pairs corresponding to |