diff mbox

mtd: atmel_nand: fix typo in dev_err error message

Message ID 1425155276-8039-1-git-send-email-colin.king@canonical.com
State Accepted
Commit 393d23c4e22996ad0c694577927bcf13ba31beda
Headers show

Commit Message

Colin Ian King Feb. 28, 2015, 8:27 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Fix typo, "Unkown" -> "Unknown"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/mtd/nand/atmel_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Josh Wu March 2, 2015, 1:01 a.m. UTC | #1
Hi, Colin

On 3/1/2015 4:27 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Fix typo, "Unkown" -> "Unknown"
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Thanks for the patch.
Acked-by: Josh Wu <josh.wu@atmel.com>

> ---
>   drivers/mtd/nand/atmel_nand.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
> index d93c849..1310450 100644
> --- a/drivers/mtd/nand/atmel_nand.c
> +++ b/drivers/mtd/nand/atmel_nand.c
> @@ -1719,7 +1719,7 @@ static int nfc_wait_interrupt(struct atmel_nand_host *host, u32 flag)
>   		comp[index++] = &host->nfc->comp_cmd_done;
>   
>   	if (index == 0) {
> -		dev_err(host->dev, "Unkown interrupt flag: 0x%08x\n", flag);
> +		dev_err(host->dev, "Unknown interrupt flag: 0x%08x\n", flag);
>   		return -EINVAL;
>   	}
>   
Best Regards,
Josh Wu
Brian Norris March 3, 2015, 7 a.m. UTC | #2
On Sat, Feb 28, 2015 at 08:27:56PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Fix typo, "Unkown" -> "Unknown"
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Pushed to l2-mtd.git

Brian
diff mbox

Patch

diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index d93c849..1310450 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -1719,7 +1719,7 @@  static int nfc_wait_interrupt(struct atmel_nand_host *host, u32 flag)
 		comp[index++] = &host->nfc->comp_cmd_done;
 
 	if (index == 0) {
-		dev_err(host->dev, "Unkown interrupt flag: 0x%08x\n", flag);
+		dev_err(host->dev, "Unknown interrupt flag: 0x%08x\n", flag);
 		return -EINVAL;
 	}