]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: fbtft: Fix block comment coding style
authorAnchal Jain <anchalj109@gmail.com>
Mon, 15 Feb 2016 16:08:27 +0000 (21:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:09:57 +0000 (15:09 -0800)
Add the required leading * on subsequent lines as well as
move the */ on a separate line. Checkpatch found this issue.

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c

index 3bcbabf26dbebec1d19cf25ca6153fa898b7b015..6c9cdd235854e39fa15499b3322b883b00257a13 100644 (file)
@@ -130,7 +130,8 @@ static int fbtft_request_gpios(struct fbtft_par *par)
        while (gpio->name[0]) {
                flags = FBTFT_GPIO_NO_MATCH;
                /* if driver provides match function, try it first,
-                  if no match use our own */
+                * if no match use our own
+                */
                if (par->fbtftops.request_gpios_match)
                        flags = par->fbtftops.request_gpios_match(par, gpio);
                if (flags == FBTFT_GPIO_NO_MATCH)
@@ -518,8 +519,7 @@ static ssize_t fbtft_fb_write(struct fb_info *info, const char __user *buf,
                "%s: count=%zd, ppos=%llu\n", __func__,  count, *ppos);
        res = fb_sys_write(info, buf, count, ppos);
 
-       /* TODO: only mark changed area
-          update all for now */
+       /* TODO: only mark changed area update all for now */
        par->fbtftops.mkdirty(info, -1, 0);
 
        return res;