2017-07-18 05:40:40

by Colin King

[permalink] [raw]
Subject: [PATCH] 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(-)

diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index 1bc478a7f49e..d9328ce5ec1d 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -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);
--
2.11.0


2017-07-20 11:08:50

by Marcus Wolf

[permalink] [raw]
Subject: Re: [PATCH] staging: pi433: Fix a couple of spelling mistakes

Reviewed-by: Marcus Wolf <[email protected]>

> 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"
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/staging/pi433/pi433_if.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/pi433/pi433_if.c
> b/drivers/staging/pi433/pi433_if.c
> index 1bc478a7f49e..d9328ce5ec1d 100644
> --- a/drivers/staging/pi433/pi433_if.c
> +++ b/drivers/staging/pi433/pi433_if.c
> @@ -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);
> --
> 2.11.0
>
>