Browse Source

Bluetooth: btusb: Fix two coding style issues

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>
Marcel Holtmann 10 years ago
parent
commit
eb50042fd2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/bluetooth/btusb.c

+ 2 - 2
drivers/bluetooth/btusb.c

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