Commit a6e57ec6 authored by Christophe Ricard's avatar Christophe Ricard Committed by Samuel Ortiz

nfc: st21nfca: Code cleanup

A few code cleanups, mostly empty lines removal.
Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent ba2c231c
...@@ -731,7 +731,6 @@ static struct i2c_driver st21nfca_hci_i2c_driver = { ...@@ -731,7 +731,6 @@ static struct i2c_driver st21nfca_hci_i2c_driver = {
.id_table = st21nfca_hci_i2c_id_table, .id_table = st21nfca_hci_i2c_id_table,
.remove = st21nfca_hci_i2c_remove, .remove = st21nfca_hci_i2c_remove,
}; };
module_i2c_driver(st21nfca_hci_i2c_driver); module_i2c_driver(st21nfca_hci_i2c_driver);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
......
...@@ -312,7 +312,7 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, ...@@ -312,7 +312,7 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host,
switch (event) { switch (event) {
case ST21NFCA_EVT_CONNECTIVITY: case ST21NFCA_EVT_CONNECTIVITY:
break; break;
case ST21NFCA_EVT_TRANSACTION: case ST21NFCA_EVT_TRANSACTION:
/* /*
* According to specification etsi 102 622 * According to specification etsi 102 622
...@@ -342,7 +342,7 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, ...@@ -342,7 +342,7 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host,
transaction->aid_len + 4, transaction->params_len); transaction->aid_len + 4, transaction->params_len);
r = nfc_se_transaction(hdev->ndev, host, transaction); r = nfc_se_transaction(hdev->ndev, host, transaction);
break; break;
default: default:
nfc_err(&hdev->ndev->dev, "Unexpected event on connectivity gate\n"); nfc_err(&hdev->ndev->dev, "Unexpected event on connectivity gate\n");
return 1; return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment