summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv04_crtc.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2011-03-19 23:31:53 +0000
committerBen Skeggs <bskeggs@redhat.com>2011-05-16 10:47:19 +1000
commitf9ec8f6c8dea942bc4be5cc1f34c99df7a4d78ee (patch)
tree9b99c6478811f093eecbf2f635ee6ee80d92c510 /drivers/gpu/drm/nouveau/nv04_crtc.c
parentf212949ced2397b5f00e987bb5d4bb34dc69cc8d (diff)
downloadlinux-f9ec8f6c8dea942bc4be5cc1f34c99df7a4d78ee.tar.gz
linux-f9ec8f6c8dea942bc4be5cc1f34c99df7a4d78ee.tar.bz2
linux-f9ec8f6c8dea942bc4be5cc1f34c99df7a4d78ee.zip
drm/nouveau: Fix brace placement checkpatch.pl errors.
Fix 'ERROR: that open brace { should be on the previous line' Fix 'ERROR: else should follow close brace }' Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv04_crtc.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv04_crtc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv04_crtc.c b/drivers/gpu/drm/nouveau/nv04_crtc.c
index 748b9d9c2949..cc3cd175ab9d 100644
--- a/drivers/gpu/drm/nouveau/nv04_crtc.c
+++ b/drivers/gpu/drm/nouveau/nv04_crtc.c
@@ -790,8 +790,7 @@ nv04_crtc_do_mode_set_base(struct drm_crtc *crtc,
if (atomic) {
drm_fb = passed_fb;
fb = nouveau_framebuffer(passed_fb);
- }
- else {
+ } else {
/* If not atomic, we can go ahead and pin, and unpin the
* old fb we were passed.
*/