summaryrefslogtreecommitdiff
path: root/drivers/nfc/st-nci/spi.c
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-12-23 23:45:12 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-12-29 19:06:17 +0100
commitba2c231cbcbd5fdd6335b0839f7bf4a08f208e4e (patch)
treeaed38fba83b199e758d16439677cb1532b65cbab /drivers/nfc/st-nci/spi.c
parentdfa8070d7f641e1fb1b5e5fe643faddfa4869e07 (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/spi.c')
-rw-r--r--drivers/nfc/st-nci/spi.c3
1 files changed, 1 insertions, 2 deletions
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 @@
/* ndlc header */
#define ST_NCI_FRAME_HEADROOM 1
-#define ST_NCI_FRAME_TAILROOM 0
+#define ST_NCI_FRAME_TAILROOM 0
#define ST_NCI_SPI_MIN_SIZE 4 /* PCB(1) + NCI Packet header(3) */
#define ST_NCI_SPI_MAX_SIZE 250 /* req 4.2.1 */
@@ -437,7 +437,6 @@ static struct spi_driver st_nci_spi_driver = {
.id_table = st_nci_spi_id_table,
.remove = st_nci_spi_remove,
};
-
module_spi_driver(st_nci_spi_driver);
MODULE_LICENSE("GPL");