]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
nfc: st-nci: Code cleanup
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 23 Dec 2015 22:45:12 +0000 (23:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 29 Dec 2015 18:06:17 +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/st-nci/i2c.c
drivers/nfc/st-nci/se.c
drivers/nfc/st-nci/spi.c

index 3e384159b2884e330074ab0fd740801ccae2b817..8a56b5c6e4c4e4899f57278e3493d4617d965c4b 100644 (file)
@@ -425,7 +425,6 @@ static struct i2c_driver st_nci_i2c_driver = {
        .id_table = st_nci_i2c_id_table,
        .remove = st_nci_i2c_remove,
 };
-
 module_i2c_driver(st_nci_i2c_driver);
 
 MODULE_LICENSE("GPL");
index dbab722a06546ab0c2dbbdba9d87e0fb12561132..aa692dabee768801a7c3613e371907186bd51934 100644 (file)
@@ -392,7 +392,6 @@ void st_nci_hci_event_received(struct nci_dev *ndev, u8 pipe,
 }
 EXPORT_SYMBOL_GPL(st_nci_hci_event_received);
 
-
 void st_nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd,
                               struct sk_buff *skb)
 {
index df02847e5f863aaaec0bca80a1a823ac319482d8..821dfa950fa8f89f924eed83a9339b9b751f6dc8 100644 (file)
@@ -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");