Commit d3295869 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by David S. Miller

net: nfc: Fix spelling errors in net/nfc module

These patches fix a series of spelling errors in net/nfc module.
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 85d091a7
...@@ -1217,7 +1217,7 @@ static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg, ...@@ -1217,7 +1217,7 @@ static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg,
/* ACK */ /* ACK */
if (ddev->atn_count) { if (ddev->atn_count) {
/* The target has previously recevied one or more ATN /* The target has previously received one or more ATN
* PDUs. * PDUs.
*/ */
ddev->atn_count = 0; ddev->atn_count = 0;
......
...@@ -1507,7 +1507,7 @@ static void nci_rx_work(struct work_struct *work) ...@@ -1507,7 +1507,7 @@ static void nci_rx_work(struct work_struct *work)
} }
} }
/* check if a data exchange timout has occurred */ /* check if a data exchange timeout has occurred */
if (test_bit(NCI_DATA_EXCHANGE_TO, &ndev->flags)) { if (test_bit(NCI_DATA_EXCHANGE_TO, &ndev->flags)) {
/* complete the data exchange transaction, if exists */ /* complete the data exchange transaction, if exists */
if (test_bit(NCI_DATA_EXCHANGE, &ndev->flags)) if (test_bit(NCI_DATA_EXCHANGE, &ndev->flags))
......
...@@ -234,7 +234,7 @@ static void nci_uart_tty_wakeup(struct tty_struct *tty) ...@@ -234,7 +234,7 @@ static void nci_uart_tty_wakeup(struct tty_struct *tty)
* Called by tty low level driver when receive data is * Called by tty low level driver when receive data is
* available. * available.
* *
* Arguments: tty pointer to tty isntance data * Arguments: tty pointer to tty instance data
* data pointer to received data * data pointer to received data
* flags pointer to flags for data * flags pointer to flags for data
* count count of received data in bytes * count count of received data in bytes
...@@ -374,7 +374,7 @@ static int nci_uart_default_recv_buf(struct nci_uart *nu, const u8 *data, ...@@ -374,7 +374,7 @@ static int nci_uart_default_recv_buf(struct nci_uart *nu, const u8 *data,
data += chunk_len; data += chunk_len;
count -= chunk_len; count -= chunk_len;
/* Chcek if packet is fully received */ /* Check if packet is fully received */
if (nu->rx_packet_len == nu->rx_skb->len) { if (nu->rx_packet_len == nu->rx_skb->len) {
/* Pass RX packet to driver */ /* Pass RX packet to driver */
if (nu->ops.recv(nu, nu->rx_skb) != 0) if (nu->ops.recv(nu, nu->rx_skb) != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment