staging: sm750fb: fix style for if clause
authorOthmar Pasteka <pasteka@kabsi.at>
Sun, 8 Nov 2015 10:58:51 +0000 (11:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:52:31 +0000 (18:52 -0800)
Fix for checkpatch.pl complaints:
ERROR: that open brace { should be on the previous line
CHECK: spaces preferred around that '+' (ctx:VxV)

Signed-off-by: Othmar Pasteka <pasteka@kabsi.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750_cursor.c

index 3b7ce92..0a41585 100644 (file)
@@ -143,8 +143,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor,
                iowrite16(data, pbuffer);
 
                /* assume pitch is 1,2,4,8,...*/
-               if ((i+1) % pitch == 0)
-               {
+               if ((i + 1) % pitch == 0) {
                        /* need a return */
                        pstart += offset;
                        pbuffer = pstart;