OSDN Git Service

staging: sm750fb: removed line continuations in quoted strings
authorPrasant Jalan <prasant.jalan@gmail.com>
Fri, 31 Mar 2017 19:10:02 +0000 (00:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:00:52 +0000 (17:00 +0200)
checkpatch gives WARNING: Avoid line continuations in quoted strings.

Trivial fix by removing line continuations and adding another quote at
the start of next line.

Signed-off-by: Prasant Jalan <prasant.jalan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c

index 445c68d..386d4ad 100644 (file)
@@ -837,15 +837,15 @@ static int lynxfb_set_fbinfo(struct fb_info *info, int index)
 
        /* some member of info->var had been set by fb_find_mode */
 
-       pr_info("Member of info->var is :\n\
-               xres=%d\n\
-               yres=%d\n\
-               xres_virtual=%d\n\
-               yres_virtual=%d\n\
-               xoffset=%d\n\
-               yoffset=%d\n\
-               bits_per_pixel=%d\n \
-               ...\n",
+       pr_info("Member of info->var is :\n"
+               "xres=%d\n"
+               "yres=%d\n"
+               "xres_virtual=%d\n"
+               "yres_virtual=%d\n"
+               "xoffset=%d\n"
+               "yoffset=%d\n"
+               "bits_per_pixel=%d\n"
+               ...\n",
                var->xres,
                var->yres,
                var->xres_virtual,