From 3efc66167007f4bd77d7690bf35ef1339b8bf374 Mon Sep 17 00:00:00 2001 From: Katie Dunne Date: Sun, 19 Feb 2017 21:14:29 -0800 Subject: staging: sm750fb: add spaces around operators Add spaces around operators -, *, ?:, >>, << to conform to kernel style. These instances were found with checkpatch.pl Signed-off-by: Katie Dunne Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sm750fb/sm750_cursor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'drivers/staging/sm750fb') diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index b1651b0..dbc8bb1 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -111,14 +111,14 @@ void sm750_hw_cursor_setData(struct lynx_cursor *cursor, data = 0; for (j = 0; j < 8; j++) { - if (mask & (0x80>>j)) { + if (mask & (0x80 >> j)) { if (rop == ROP_XOR) opr = mask ^ color; else opr = mask & color; /* 2 stands for forecolor and 1 for backcolor */ - data |= ((opr & (0x80>>j))?2:1)<<(j*2); + data |= ((opr & (0x80 >> j)) ? 2 : 1) << (j * 2); } } iowrite16(data, pbuffer); @@ -165,13 +165,13 @@ void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, data = 0; for (j = 0; j < 8; j++) { - if (mask & (1<