Staging: fbtft: fb_agm1264k-fl: No space is necessary after cast.
authorSandhya Bankar <bankarsandhya512@gmail.com>
Fri, 18 Mar 2016 09:32:41 +0000 (15:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
No space is necessary after cast.This problem is found  by checkpatch.pl script.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_agm1264k-fl.c

index ba9fc444b8481f17ce26fb15e820593165d578b7..82b46cd27ca7689a772ee89da111eae8522d9509 100644 (file)
@@ -414,7 +414,7 @@ static int write(struct fbtft_par *par, void *buf, size_t len)
        while (len--) {
                u8 i, data;
 
-               data = *(u8 *) buf++;
+               data = *(u8 *)buf++;
 
                /* set data bus */
                for (i = 0; i < 8; ++i)