diff mbox

[RESEND] staging: sm750fb: cleanup: fix brace placement

Message ID 1453675003-3688-1-git-send-email-charles.rose.linux@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Charles Rose Jan. 24, 2016, 10:36 p.m. UTC
Fix brace placement warnings caught by checkpatch.pl.

Signed-off-by: Charles Rose <charles.rose.linux@gmail.com>
---
This is a resend of the original patch posted on 20160119 where my
recepient list was incomplete.

 drivers/staging/sm750fb/sm750_cursor.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Greg KH Feb. 8, 2016, 2:53 a.m. UTC | #1
On Sun, Jan 24, 2016 at 05:36:43PM -0500, Charles Rose wrote:
> Fix brace placement warnings caught by checkpatch.pl.
> 
> Signed-off-by: Charles Rose <charles.rose.linux@gmail.com>
> ---
> This is a resend of the original patch posted on 20160119 where my
> recepient list was incomplete.

Doesn't apply as someone else did this before you, sorry :(
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c
index 3b7ce92..cab891c 100644
--- a/drivers/staging/sm750fb/sm750_cursor.c
+++ b/drivers/staging/sm750fb/sm750_cursor.c
@@ -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;