summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix N. Kimbu <felixkimbu1@gmail.com>2024-03-23 07:08:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-25 19:08:29 +0100
commitd6b86fdecdddf66e9251f5258460df7cf179848c (patch)
tree2dcfb439024f03b0573fe05591c13675313d0abb
parentb50e41c0e5e074e5f8bf153b7c71584e93ed00ba (diff)
downloadlinux-stable-d6b86fdecdddf66e9251f5258460df7cf179848c.tar.gz
linux-stable-d6b86fdecdddf66e9251f5258460df7cf179848c.tar.bz2
linux-stable-d6b86fdecdddf66e9251f5258460df7cf179848c.zip
staging: pi433: Correct comment typos in pi433_if.c
Correct typos in comments accross driver file pi433_if.c. Signed-off-by: Felix N. Kimbu <felixkimbu1@gmail.com> Link: https://lore.kernel.org/r/Zf5xxbEpFfU5GMiY@MOLeToid Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/pi433/pi433_if.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index b6c4917d515e..81de98c0245a 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -10,7 +10,7 @@
* devices, basing on HopeRfs rf69.
*
* The driver can also be extended, to support other modules of
- * HopeRf with a similar interace - e. g. RFM69HCW, RFM12, RFM95, ...
+ * HopeRf with a similar interface - e. g. RFM69HCW, RFM12, RFM95, ...
*
* Copyright (C) 2016 Wolf-Entwicklungen
* Marcus Wolf <linux@wolf-entwicklungen.de>
@@ -68,7 +68,7 @@ static const struct class pi433_class = {
*/
/*
* rx config is device specific
- * so we have just one rx config, ebedded in device struct
+ * so we have just one rx config, embedded in device struct
*/
struct pi433_device {
/* device handling related values */
@@ -647,7 +647,7 @@ static int pi433_tx_thread(void *data)
/*
* prevent race conditions
- * irq will be reenabled after tx config is set
+ * irq will be re-enabled after tx config is set
*/
disable_irq(device->irq_num[DIO0]);
device->tx_active = true;
@@ -923,7 +923,7 @@ static long pi433_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
case PI433_IOC_WR_RX_CFG:
mutex_lock(&device->rx_lock);
- /* during pendig read request, change of config not allowed */
+ /* during pending read request, change of config not allowed */
if (device->rx_active) {
mutex_unlock(&device->rx_lock);
return -EAGAIN;