diff mbox

spi: atmel: fix typo in dev_err

Message ID 1400571711-13137-1-git-send-email-poggi.raph@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Raphaël Poggi May 20, 2014, 7:41 a.m. UTC
Fix typo in dev_err.

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
---
 drivers/spi/spi-atmel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nicolas Ferre May 20, 2014, 8:23 a.m. UTC | #1
On 20/05/2014 09:41, Raphaël Poggi :
> Fix typo in dev_err.
> 
> Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

> ---
>  drivers/spi/spi-atmel.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
> index 079e6b1..7a1788b 100644
> --- a/drivers/spi/spi-atmel.c
> +++ b/drivers/spi/spi-atmel.c
> @@ -1122,7 +1122,7 @@ static int atmel_spi_one_transfer(struct spi_master *master,
>  		atmel_spi_lock(as);
>  		if (WARN_ON(ret == 0)) {
>  			dev_err(&spi->dev,
> -				"spi trasfer timeout, err %d\n", ret);
> +				"spi transfer timeout, err %d\n", ret);
>  			as->done_status = -EIO;
>  		} else {
>  			ret = 0;
>
diff mbox

Patch

diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
index 079e6b1..7a1788b 100644
--- a/drivers/spi/spi-atmel.c
+++ b/drivers/spi/spi-atmel.c
@@ -1122,7 +1122,7 @@  static int atmel_spi_one_transfer(struct spi_master *master,
 		atmel_spi_lock(as);
 		if (WARN_ON(ret == 0)) {
 			dev_err(&spi->dev,
-				"spi trasfer timeout, err %d\n", ret);
+				"spi transfer timeout, err %d\n", ret);
 			as->done_status = -EIO;
 		} else {
 			ret = 0;