Bluetooth: btusb: Fix two coding style issues
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Apr 2015 21:15:50 +0000 (23:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Apr 2015 23:05:30 +0000 (01:05 +0200)
ERROR: spaces required around that '<' (ctx:WxV)
+ if (err <0)
          ^

ERROR: code indent should use tabs where possible
+^I^I^I^I        sizeof(ver));$

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btusb.c

index 84f9985..920f6fb 100644 (file)
@@ -916,7 +916,7 @@ static int btusb_open(struct hci_dev *hdev)
         */
        if (data->setup_on_usb) {
                err = data->setup_on_usb(hdev);
-               if (err <0)
+               if (err < 0)
                        return err;
        }
 
@@ -2973,7 +2973,7 @@ static int btusb_setup_qca(struct hci_dev *hdev)
        int i, err;
 
        err = btusb_qca_send_vendor_req(hdev, QCA_GET_TARGET_VERSION, &ver,
-                                       sizeof(ver));
+                                       sizeof(ver));
        if (err < 0)
                return err;