Skip to contentSkip to conversation

staging: pi433: Fix a couple of spelling mistakes

PATCH In review Colin King 2 participants 2 messages Jul 18, 2017 – Jul 20, 2017 Staging

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 staging: pi433: Fix a couple of spelling mistakes

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistakes in dev_dbg debug messages

"wiat" -> "wait"
"fonud" -> "found"

---
 drivers/staging/pi433/pi433_if.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/pi433/pi433_if.c +2 -2
index 1bc478a7f49e..d9328ce5ec1d 100644
@@ -618,7 +618,7 @@ pi433_tx_thread(void *data)
 		}
 
 		/* we are done. Wait for packet to get sent */
-		dev_dbg(device->dev, "thread: wiat for packet to get sent/fifo to be empty");
+		dev_dbg(device->dev, "thread: wait for packet to get sent/fifo to be empty");
 		wait_event_interruptible(device->fifo_wait_queue,
 					 device->free_in_fifo == FIFO_SIZE ||
 					 kthread_should_stop() );
@@ -1101,7 +1101,7 @@ static int pi433_probe(struct spi_device *spi)
 	switch(retval)
 	{
 		case 0x24:
-			dev_dbg(&spi->dev, "fonud pi433 (ver. 0x%x)", retval);
+			dev_dbg(&spi->dev, "found pi433 (ver. 0x%x)", retval);
 			break;
 		default:
 			dev_dbg(&spi->dev, "unknown chip version: 0x%x", retval);
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 45 lines

Colin King <[email protected]> hat am 18. Juli 2017 um 07:40 geschrieben:

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistakes in dev_dbg debug messages

"wiat" -> "wait"
"fonud" -> "found"

---
drivers/staging/pi433/pi433_if.c | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/pi433/pi433_if.c +1 -1
index 1bc478a7f49e..d9328ce5ec1d 100644
@@ -618,7 +618,7 @@ pi433_tx_thread(void *data)
 }
 
 /* we are done. Wait for packet to get sent */
- dev_dbg(device->dev, "thread: wiat for packet to get sent/fifo to be
 empty");
+ dev_dbg(device->dev, "thread: wait for packet to get sent/fifo to be
 empty");
 wait_event_interruptible(device->fifo_wait_queue,

device->free_in_fifo == FIFO_SIZE ||
kthread_should_stop() );

drivers/staging/pi433/pi433_if.c +0 -0
@@ -1101,7 +1101,7 @@ static int pi433_probe(struct spi_device *spi)
 switch(retval)
 {

case 0x24:
- dev_dbg(&spi->dev, "fonud pi433 (ver. 0x%x)", retval);
+ dev_dbg(&spi->dev, "found pi433 (ver. 0x%x)", retval); break;
default:
dev_dbg(&spi->dev, "unknown chip version: 0x%x", retval); --
2.11.0