nfc: st21nfca: Code cleanup
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 23 Dec 2015 22:45:13 +0000 (23:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 29 Dec 2015 18:06:18 +0000 (19:06 +0100)
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>
drivers/nfc/st21nfca/i2c.c
drivers/nfc/st21nfca/se.c

index ae16534445499d91b4aa9c645712c4ac8c2f9c6c..75ab2ef3253b23b602a538adcb27f09c6c59a5f2 100644 (file)
@@ -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");
index c79d99b24c9616f3426295e409bae19efbf1e422..d5172e46dbafd44d37e5a04022281034bdfdb6ca 100644 (file)
@@ -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
@@ -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;