Browse Source

staging: ozwpan: Fix coding style.

Put spaces around math operations.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Rupesh Gujare 12 years ago
parent
commit
0535281e4b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/ozwpan/ozhcd.c

+ 2 - 2
drivers/staging/ozwpan/ozhcd.c

@@ -1957,9 +1957,9 @@ static int oz_hcd_hub_status_data(struct usb_hcd *hcd, char *buf)
 			oz_dbg(HUB, "Port %d changed\n", i);
 			ozhcd->ports[i].flags &= ~OZ_PORT_F_CHANGED;
 			if (i < 7)
-				buf[0] |= 1 << (i+1);
+				buf[0] |= 1 << (i + 1);
 			else
-				buf[1] |= 1 << (i-7);
+				buf[1] |= 1 << (i - 7);
 		}
 	}
 	spin_unlock_bh(&ozhcd->hcd_lock);