mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
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>
This commit is contained in:
parent
dfa8070d7f
commit
ba2c231cbc
@ -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");
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user