fbcmap: cleanup white space in fb_alloc_cmap()

checkpatch.pl and Andrew Morton both complained about the indenting in
fb_alloc_cmap()

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Dan Carpenter 2010-11-13 13:06:38 +03:00 коммит произвёл Paul Mundt
Родитель b22fe37b99
Коммит c353103de8
1 изменённых файлов: 29 добавлений и 23 удалений

Просмотреть файл

@ -96,18 +96,24 @@ int fb_alloc_cmap(struct fb_cmap *cmap, int len, int transp)
fb_dealloc_cmap(cmap);
if (!len)
return 0;
if (!(cmap->red = kmalloc(size, GFP_ATOMIC)))
cmap->red = kmalloc(size, GFP_ATOMIC);
if (!cmap->red)
goto fail;
if (!(cmap->green = kmalloc(size, GFP_ATOMIC)))
cmap->green = kmalloc(size, GFP_ATOMIC);
if (!cmap->green)
goto fail;
if (!(cmap->blue = kmalloc(size, GFP_ATOMIC)))
cmap->blue = kmalloc(size, GFP_ATOMIC);
if (!cmap->blue)
goto fail;
if (transp) {
if (!(cmap->transp = kmalloc(size, GFP_ATOMIC)))
cmap->transp = kmalloc(size, GFP_ATOMIC);
if (!cmap->transp)
goto fail;
} else
} else {
cmap->transp = NULL;
}
}
cmap->start = 0;
cmap->len = len;
fb_copy_cmap(fb_default_cmap(len), cmap);