Skip to content

Commit

Permalink
nfc: st21nfca: Code cleanup
Browse files Browse the repository at this point in the history
A few code cleanups, mostly empty lines removal.

Signed-off-by: Christophe Ricard <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
  • Loading branch information
cricard13 authored and Samuel Ortiz committed Dec 29, 2015
1 parent ba2c231 commit a6e57ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/nfc/st21nfca/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,6 @@ static struct i2c_driver st21nfca_hci_i2c_driver = {
.id_table = st21nfca_hci_i2c_id_table,
.remove = st21nfca_hci_i2c_remove,
};

module_i2c_driver(st21nfca_hci_i2c_driver);

MODULE_LICENSE("GPL");
Expand Down
4 changes: 2 additions & 2 deletions drivers/nfc/st21nfca/se.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host,

switch (event) {
case ST21NFCA_EVT_CONNECTIVITY:
break;
break;
case ST21NFCA_EVT_TRANSACTION:
/*
* According to specification etsi 102 622
Expand Down Expand Up @@ -342,7 +342,7 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host,
transaction->aid_len + 4, transaction->params_len);

r = nfc_se_transaction(hdev->ndev, host, transaction);
break;
break;
default:
nfc_err(&hdev->ndev->dev, "Unexpected event on connectivity gate\n");
return 1;
Expand Down

0 comments on commit a6e57ec

Please sign in to comment.