diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-12-23 17:45:13 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-12-29 13:06:18 -0500 |
commit | a6e57ec6d96914d874b8809e0e1432a4dff23e45 (patch) | |
tree | bf074db212ae460227dc06c8273a255f48a972d0 | |
parent | ba2c231cbcbd5fdd6335b0839f7bf4a08f208e4e (diff) |
nfc: st21nfca: Code cleanup
A few code cleanups, mostly empty lines removal.
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/nfc/st21nfca/i2c.c | 1 | ||||
-rw-r--r-- | drivers/nfc/st21nfca/se.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c index ae1653444549..75ab2ef3253b 100644 --- a/drivers/nfc/st21nfca/i2c.c +++ b/drivers/nfc/st21nfca/i2c.c | |||
@@ -731,7 +731,6 @@ static struct i2c_driver st21nfca_hci_i2c_driver = { | |||
731 | .id_table = st21nfca_hci_i2c_id_table, | 731 | .id_table = st21nfca_hci_i2c_id_table, |
732 | .remove = st21nfca_hci_i2c_remove, | 732 | .remove = st21nfca_hci_i2c_remove, |
733 | }; | 733 | }; |
734 | |||
735 | module_i2c_driver(st21nfca_hci_i2c_driver); | 734 | module_i2c_driver(st21nfca_hci_i2c_driver); |
736 | 735 | ||
737 | MODULE_LICENSE("GPL"); | 736 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/nfc/st21nfca/se.c b/drivers/nfc/st21nfca/se.c index c79d99b24c96..d5172e46dbaf 100644 --- a/drivers/nfc/st21nfca/se.c +++ b/drivers/nfc/st21nfca/se.c | |||
@@ -312,7 +312,7 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, | |||
312 | 312 | ||
313 | switch (event) { | 313 | switch (event) { |
314 | case ST21NFCA_EVT_CONNECTIVITY: | 314 | case ST21NFCA_EVT_CONNECTIVITY: |
315 | break; | 315 | break; |
316 | case ST21NFCA_EVT_TRANSACTION: | 316 | case ST21NFCA_EVT_TRANSACTION: |
317 | /* | 317 | /* |
318 | * According to specification etsi 102 622 | 318 | * According to specification etsi 102 622 |
@@ -342,7 +342,7 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, | |||
342 | transaction->aid_len + 4, transaction->params_len); | 342 | transaction->aid_len + 4, transaction->params_len); |
343 | 343 | ||
344 | r = nfc_se_transaction(hdev->ndev, host, transaction); | 344 | r = nfc_se_transaction(hdev->ndev, host, transaction); |
345 | break; | 345 | break; |
346 | default: | 346 | default: |
347 | nfc_err(&hdev->ndev->dev, "Unexpected event on connectivity gate\n"); | 347 | nfc_err(&hdev->ndev->dev, "Unexpected event on connectivity gate\n"); |
348 | return 1; | 348 | return 1; |