staging: sm750fb: remove unnecessary whitespace
authorJuston Li <juston.h.li@gmail.com>
Wed, 15 Jul 2015 04:14:44 +0000 (21:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 05:52:52 +0000 (22:52 -0700)
Fixes checkpatch.pl warning:
WARNING: unnecessary whitespace before a quoted newline

Signed-off-by: Juston Li <juston.h.li@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c
drivers/staging/sm750fb/sm750_hw.c

index 4d165ca3baad1a0b1eb13b86244681d58f164c41..c7ab8189671fc557c16d77978563fa0d33380982 100644 (file)
@@ -967,7 +967,7 @@ static int lynxfb_set_fbinfo(struct fb_info *info, int index)
        var->accel_flags = 0;
        var->vmode = FB_VMODE_NONINTERLACED;
 
-       pr_debug("#1 show info->cmap : \nstart=%d,len=%d,red=%p,green=%p,blue=%p,transp=%p\n",
+       pr_debug("#1 show info->cmap :\nstart=%d,len=%d,red=%p,green=%p,blue=%p,transp=%p\n",
                 info->cmap.start, info->cmap.len,
                 info->cmap.red, info->cmap.green, info->cmap.blue,
                 info->cmap.transp);
index 359165d523d017766a29395596f461dc8e21fd90..fb9c631ff818727abc26baef77ad29e3d1e09f93 100644 (file)
@@ -250,7 +250,7 @@ int hw_sm750_output_setMode(struct lynxfb_output *output,
                POKE32(DISPLAY_CONTROL_750LE, reg);
        }
 
-       pr_info("ddk setlogicdispout done \n");
+       pr_info("ddk setlogicdispout done\n");
        return ret;
 }
 
@@ -489,14 +489,14 @@ int hw_sm750_setBLANK(struct lynxfb_output *output, int blank)
 #else
        case VESA_NO_BLANKING:
 #endif
-               pr_info("flag = FB_BLANK_UNBLANK \n");
+               pr_info("flag = FB_BLANK_UNBLANK\n");
                dpms = SYSTEM_CTRL_DPMS_VPHP;
                pps = PANEL_DISPLAY_CTRL_DATA_ENABLE;
                crtdb = CRT_DISPLAY_CTRL_BLANK_OFF;
                break;
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 10)
        case FB_BLANK_NORMAL:
-               pr_info("flag = FB_BLANK_NORMAL \n");
+               pr_info("flag = FB_BLANK_NORMAL\n");
                dpms = SYSTEM_CTRL_DPMS_VPHP;
                pps = PANEL_DISPLAY_CTRL_DATA_DISABLE;
                crtdb = CRT_DISPLAY_CTRL_BLANK_ON;