staging: ozwpan: Fix coding style.
authorRupesh Gujare <rupesh.gujare@atmel.com>
Tue, 13 Aug 2013 17:24:24 +0000 (18:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 21:13:43 +0000 (14:13 -0700)
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>
drivers/staging/ozwpan/ozhcd.c

index 4b658d4adabcb9630560a564fb7a2e91b52a1273..2be15f4160ed53a3a53cfcc89eaa8b4893c0ce53 100644 (file)
@@ -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);