diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-12-23 17:45:12 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-12-29 13:06:17 -0500 |
commit | ba2c231cbcbd5fdd6335b0839f7bf4a08f208e4e (patch) | |
tree | aed38fba83b199e758d16439677cb1532b65cbab /drivers/nfc/st-nci | |
parent | dfa8070d7f641e1fb1b5e5fe643faddfa4869e07 (diff) |
nfc: st-nci: 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>
Diffstat (limited to 'drivers/nfc/st-nci')
-rw-r--r-- | drivers/nfc/st-nci/i2c.c | 1 | ||||
-rw-r--r-- | drivers/nfc/st-nci/se.c | 1 | ||||
-rw-r--r-- | drivers/nfc/st-nci/spi.c | 3 |
3 files changed, 1 insertions, 4 deletions
diff --git a/drivers/nfc/st-nci/i2c.c b/drivers/nfc/st-nci/i2c.c index 3e384159b288..8a56b5c6e4c4 100644 --- a/drivers/nfc/st-nci/i2c.c +++ b/drivers/nfc/st-nci/i2c.c | |||
@@ -425,7 +425,6 @@ static struct i2c_driver st_nci_i2c_driver = { | |||
425 | .id_table = st_nci_i2c_id_table, | 425 | .id_table = st_nci_i2c_id_table, |
426 | .remove = st_nci_i2c_remove, | 426 | .remove = st_nci_i2c_remove, |
427 | }; | 427 | }; |
428 | |||
429 | module_i2c_driver(st_nci_i2c_driver); | 428 | module_i2c_driver(st_nci_i2c_driver); |
430 | 429 | ||
431 | MODULE_LICENSE("GPL"); | 430 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/nfc/st-nci/se.c b/drivers/nfc/st-nci/se.c index dbab722a0654..aa692dabee76 100644 --- a/drivers/nfc/st-nci/se.c +++ b/drivers/nfc/st-nci/se.c | |||
@@ -392,7 +392,6 @@ void st_nci_hci_event_received(struct nci_dev *ndev, u8 pipe, | |||
392 | } | 392 | } |
393 | EXPORT_SYMBOL_GPL(st_nci_hci_event_received); | 393 | EXPORT_SYMBOL_GPL(st_nci_hci_event_received); |
394 | 394 | ||
395 | |||
396 | void st_nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd, | 395 | void st_nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd, |
397 | struct sk_buff *skb) | 396 | struct sk_buff *skb) |
398 | { | 397 | { |
diff --git a/drivers/nfc/st-nci/spi.c b/drivers/nfc/st-nci/spi.c index df02847e5f86..821dfa950fa8 100644 --- a/drivers/nfc/st-nci/spi.c +++ b/drivers/nfc/st-nci/spi.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | /* ndlc header */ | 37 | /* ndlc header */ |
38 | #define ST_NCI_FRAME_HEADROOM 1 | 38 | #define ST_NCI_FRAME_HEADROOM 1 |
39 | #define ST_NCI_FRAME_TAILROOM 0 | 39 | #define ST_NCI_FRAME_TAILROOM 0 |
40 | 40 | ||
41 | #define ST_NCI_SPI_MIN_SIZE 4 /* PCB(1) + NCI Packet header(3) */ | 41 | #define ST_NCI_SPI_MIN_SIZE 4 /* PCB(1) + NCI Packet header(3) */ |
42 | #define ST_NCI_SPI_MAX_SIZE 250 /* req 4.2.1 */ | 42 | #define ST_NCI_SPI_MAX_SIZE 250 /* req 4.2.1 */ |
@@ -437,7 +437,6 @@ static struct spi_driver st_nci_spi_driver = { | |||
437 | .id_table = st_nci_spi_id_table, | 437 | .id_table = st_nci_spi_id_table, |
438 | .remove = st_nci_spi_remove, | 438 | .remove = st_nci_spi_remove, |
439 | }; | 439 | }; |
440 | |||
441 | module_spi_driver(st_nci_spi_driver); | 440 | module_spi_driver(st_nci_spi_driver); |
442 | 441 | ||
443 | MODULE_LICENSE("GPL"); | 442 | MODULE_LICENSE("GPL"); |