summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn533/pn533.c
diff options
context:
space:
mode:
authorwengjianfeng <wengjianfeng@yulong.com>2021-02-03 10:38:42 +0100
committerJakub Kicinski <kuba@kernel.org>2021-02-05 03:37:40 +0100
commitd6adfd37e7eb9ec65e6fd95790f718dda85dec2f (patch)
tree8789dcdb621ab75b1b9c5279a7ca9a0343e0bb37 /drivers/nfc/pn533/pn533.c
parentMerge branch 'net-enable-udp-v6-sockets-receiving-v4-packets-with-udp' (diff)
downloadlinux-d6adfd37e7eb9ec65e6fd95790f718dda85dec2f.tar.xz
linux-d6adfd37e7eb9ec65e6fd95790f718dda85dec2f.zip
nfc: pn533: Fix typo issue
change 'piority' to 'priority' change 'succesfult' to 'successful' Signed-off-by: wengjianfeng <wengjianfeng@yulong.com> Link: https://lore.kernel.org/r/20210203093842.11180-1-samirweng1979@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/nfc/pn533/pn533.c')
-rw-r--r--drivers/nfc/pn533/pn533.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/pn533/pn533.c b/drivers/nfc/pn533/pn533.c
index f7464bd6d57c..f1469ac8ff42 100644
--- a/drivers/nfc/pn533/pn533.c
+++ b/drivers/nfc/pn533/pn533.c
@@ -513,7 +513,7 @@ static int pn533_send_cmd_async(struct pn533 *dev, u8 cmd_code,
/*
* pn533_send_cmd_direct_async
*
- * The function sends a piority cmd directly to the chip omitting the cmd
+ * The function sends a priority cmd directly to the chip omitting the cmd
* queue. It's intended to be used by chaining mechanism of received responses
* where the host has to request every single chunk of data before scheduling
* next cmd from the queue.
@@ -615,7 +615,7 @@ static int pn533_send_sync_complete(struct pn533 *dev, void *_arg,
* as it's been already freed at the beginning of RX path by
* async_complete_cb.
*
- * 3. valid pointer in case of succesfult RX path
+ * 3. valid pointer in case of successful RX path
*
* A caller has to check a return value with IS_ERR macro. If the test pass,
* the returned pointer is valid.