Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00abfe44 authored by Gustavo Padovan's avatar Gustavo Padovan
Browse files

Bluetooth: Fix coding style with breaking lines



Our limit is 80 and broken lines should as right as possible.

Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 53bf2426
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -421,8 +421,7 @@ void btmrvl_debugfs_init(struct hci_dev *hdev)
	dbg->hsstate = debugfs_create_file("hsstate", 0444, dbg->status_dir,
						priv, &btmrvl_hsstate_fops);
	dbg->txdnldready = debugfs_create_file("txdnldready", 0444,
						dbg->status_dir,
						priv,
						dbg->status_dir, priv,
						&btmrvl_txdnldready_fops);
}

+2 −1
Original line number Diff line number Diff line
@@ -1344,7 +1344,8 @@ static int hci_outgoing_auth_needed(struct hci_dev *hdev,
	return 1;
}

static inline int hci_resolve_name(struct hci_dev *hdev, struct inquiry_entry *e)
static inline int hci_resolve_name(struct hci_dev *hdev,
						struct inquiry_entry *e)
{
	struct hci_cp_remote_name_req cp;

+1 −2
Original line number Diff line number Diff line
@@ -1926,8 +1926,7 @@ static int pin_code_reply(struct sock *sk, u16 index, void *data, u16 len)
		goto failed;
	}

	cmd = mgmt_pending_add(sk, MGMT_OP_PIN_CODE_REPLY, hdev, data,
									len);
	cmd = mgmt_pending_add(sk, MGMT_OP_PIN_CODE_REPLY, hdev, data, len);
	if (!cmd) {
		err = -ENOMEM;
		goto failed;