video: cleanup comments in cfb_console.c and video_fb.h
authorAnatolij Gustschin <agust@denx.de>
Sat, 19 Jun 2010 18:41:56 +0000 (20:41 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 16 Jul 2010 22:05:14 +0000 (00:05 +0200)
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/cfb_console.c
include/video_fb.h

index 96d52fbaea1c1bd299e8b4bc8a813d15669e6796..fae54177cb40757f3b8529aabe3c665a08cb0805 100644 (file)
@@ -1119,7 +1119,7 @@ int video_display_bitmap (ulong bmp_image, int x, int y)
        case 8:
                padded_line -= width;
                if (VIDEO_DATA_FORMAT == GDF__8BIT_INDEX) {
-                       /* Copy colormap                                             */
+                       /* Copy colormap */
                        for (xcount = 0; xcount < colors; ++xcount) {
                                cte = bmp->color_table[xcount];
                                video_set_lut (xcount, cte.red, cte.green, cte.blue);
@@ -1321,11 +1321,11 @@ void logo_plot (void *screen, int width, int x, int y)
 #ifdef CONFIG_VIDEO_BMP_LOGO
        source = bmp_logo_bitmap;
 
-       /* Allocate temporary space for computing colormap                       */
+       /* Allocate temporary space for computing colormap */
        logo_red = malloc (BMP_LOGO_COLORS);
        logo_green = malloc (BMP_LOGO_COLORS);
        logo_blue = malloc (BMP_LOGO_COLORS);
-       /* Compute color map                                                     */
+       /* Compute color map */
        for (i = 0; i < VIDEO_LOGO_COLORS; i++) {
                logo_red[i] = (bmp_logo_palette[i] & 0x0f00) >> 4;
                logo_green[i] = (bmp_logo_palette[i] & 0x00f0);
index 9825f0c4c2e5792b2a4e5631edba63782d56fc91..f649c54ababee4cc1f625660c539a4c59dc37313 100644 (file)
@@ -1,4 +1,4 @@
-                                                                                   /*
+/*
  * (C) Copyright 1997-2002 ELTEC Elektronik AG
  * Frank Gottschling <fgottschling@eltec.de>
  *