summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJames Hogan <james@albanarts.com>2010-10-28 00:33:27 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-28 03:03:08 +0200
commitc9c62dce35e7fc54beebafb071393a0008989e49 (patch)
tree68b0f7e2b63e697aca023d8932bc9a7eafa26608 /drivers
parentdrivers/video/matrox/matroxfb_maven.c: fix unsigned return type (diff)
downloadlinux-c9c62dce35e7fc54beebafb071393a0008989e49.tar.xz
linux-c9c62dce35e7fc54beebafb071393a0008989e49.zip
fbmem: fix whitespace
Change a few lines of indentation to tabs. Signed-off-by: James Hogan <james@albanarts.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/fbmem.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 42e303ff862a..a43442341ddd 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -877,13 +877,13 @@ fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var)
if ((err = info->fbops->fb_pan_display(var, info)))
return err;
- info->var.xoffset = var->xoffset;
- info->var.yoffset = var->yoffset;
- if (var->vmode & FB_VMODE_YWRAP)
- info->var.vmode |= FB_VMODE_YWRAP;
- else
- info->var.vmode &= ~FB_VMODE_YWRAP;
- return 0;
+ info->var.xoffset = var->xoffset;
+ info->var.yoffset = var->yoffset;
+ if (var->vmode & FB_VMODE_YWRAP)
+ info->var.vmode |= FB_VMODE_YWRAP;
+ else
+ info->var.vmode &= ~FB_VMODE_YWRAP;
+ return 0;
}
static int fb_check_caps(struct fb_info *info, struct fb_var_screeninfo *var,