staging: pi433: Fix a couple of spelling mistakes
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"
Signed-off-by Colin Ian King <[email protected]>
--- drivers/staging/pi433/pi433_if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/pi433/pi433_if.c +2 -2
@@ -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 Marcus Wolf <[email protected]>
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_dbgdebug messages"wiat" -> "wait"
"fonud" -> "found"Signed-off-by Colin Ian King <[email protected]>---
drivers/staging/pi433/pi433_if.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/pi433/pi433_if.c +1
-1@@ -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