drivers/video/via: fix continuation line formats
authorJoe Perches <joe@perches.com>
Wed, 10 Mar 2010 23:21:48 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:34 +0000 (15:52 -0800)
String constants that are continued on subsequent lines with \ will cause
spurious whitespace in the resulting output.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/via/dvi.c
drivers/video/via/lcd.c

index 0e0852e..abe59b8 100644 (file)
@@ -411,8 +411,8 @@ static void dvi_get_panel_size_from_DDCv1(struct tmds_chip_information
                tmds_setting->max_vres = 1080;
                break;
        default:
-               DEBUG_MSG(KERN_INFO "Unknown panel size max resolution = %d !\
-                                        set default panel size.\n", max_h);
+               DEBUG_MSG(KERN_INFO "Unknown panel size max resolution = %d ! "
+                                        "set default panel size.\n", max_h);
                break;
        }
 
@@ -460,8 +460,8 @@ static void dvi_get_panel_size_from_DDCv2(struct tmds_chip_information
                tmds_setting->max_vres = 1200;
                break;
        default:
-               DEBUG_MSG(KERN_INFO "Unknown panel size max resolution = %d!\
-                       set default panel size.\n", tmds_setting->max_hres);
+               DEBUG_MSG(KERN_INFO "Unknown panel size max resolution = %d! "
+                       "set default panel size.\n", tmds_setting->max_hres);
                break;
        }
 
index 1d1176c..1b1ccdc 100644 (file)
@@ -136,13 +136,13 @@ static bool lvds_identify_integratedlvds(void)
                if (viaparinfo->chip_info->lvds_chip_info.lvds_chip_name) {
                        viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name =
                            INTEGRATED_LVDS;
-                       DEBUG_MSG(KERN_INFO "Support two dual channel LVDS!\
-                                 (Internal LVDS + External LVDS)\n");
+                       DEBUG_MSG(KERN_INFO "Support two dual channel LVDS! "
+                                 "(Internal LVDS + External LVDS)\n");
                } else {
                        viaparinfo->chip_info->lvds_chip_info.lvds_chip_name =
                            INTEGRATED_LVDS;
-                       DEBUG_MSG(KERN_INFO "Not found external LVDS,\
-                                 so can't support two dual channel LVDS!\n");
+                       DEBUG_MSG(KERN_INFO "Not found external LVDS, "
+                                 "so can't support two dual channel LVDS!\n");
                }
        } else if (viafb_display_hardware_layout == HW_LAYOUT_LCD1_LCD2) {
                /* Two single channel LCD (Internal LVDS + Internal LVDS): */
@@ -150,8 +150,8 @@ static bool lvds_identify_integratedlvds(void)
                INTEGRATED_LVDS;
                viaparinfo->chip_info->lvds_chip_info2.lvds_chip_name =
                        INTEGRATED_LVDS;
-               DEBUG_MSG(KERN_INFO "Support two single channel LVDS!\
-                         (Internal LVDS + Internal LVDS)\n");
+               DEBUG_MSG(KERN_INFO "Support two single channel LVDS! "
+                         "(Internal LVDS + Internal LVDS)\n");
        } else if (viafb_display_hardware_layout != HW_LAYOUT_DVI_ONLY) {
                /* If we have found external LVDS, just use it,
                   otherwise, we will use internal LVDS as default. */