Skip to contentSkip to conversation

staging: sm750fb: cleanup: fix brace placement

PATCH RESEND New Charles Rose 1 participant 1 message Jan 24, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 staging: sm750fb: cleanup: fix brace placement

Fix brace placement warnings caught by checkpatch.pl.

---
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(-)
drivers/staging/sm750fb/sm750_cursor.c +1 -2
index 3b7ce92..cab891c 100644
@@ -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;
Signature · 1 line
2.5.0