summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRupesh Gujare <rupesh.gujare@atmel.com>2013-08-13 18:24:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-14 14:13:43 -0700
commit0535281e4b3bd5192ff425dad0f8b7976acd5172 (patch)
tree1252f486921fec505511b804385c2002733cf2a3 /drivers
parent2c66335c0c74d7994bb3a5d41f6f6ae46079cdd9 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ozwpan/ozhcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
index 4b658d4adabc..2be15f4160ed 100644
--- a/drivers/staging/ozwpan/ozhcd.c
+++ b/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);