diff mbox

Fix typo in comment.

Message ID 1496130091-2363-1-git-send-email-matthias.lange@kernkonzept.com
State Accepted
Commit f82c3232d1906bc8754e0b33ce39d09d08cb60c3
Delegated to: Boris Brezillon
Headers show

Commit Message

Matthias Lange May 30, 2017, 7:41 a.m. UTC
Signed-off-by: Matthias Lange <matthias.lange@kernkonzept.com>
---
 drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Boris Brezillon May 31, 2017, 9:22 a.m. UTC | #1
Hi Mattias,

On Tue, 30 May 2017 09:41:31 +0200
Matthias Lange <matthias.lange@kernkonzept.com> wrote:

Commit title should be prefixed with "mtd: nand: gpmi: ".

> Signed-off-by: Matthias Lange <matthias.lange@kernkonzept.com>
> ---
>  drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-lib.c b/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
> index 141bd70..41f53ae 100644
> --- a/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
> +++ b/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
> @@ -932,7 +932,7 @@ static int enable_edo_mode(struct gpmi_nand_data *this, int mode)
>  
>  	nand->select_chip(mtd, 0);
>  
> -	/* [1] send SET FEATURE commond to NAND */
> +	/* [1] send SET FEATURE command to NAND */
>  	feature[0] = mode;
>  	ret = nand->onfi_set_features(mtd, nand,
>  				ONFI_FEATURE_ADDR_TIMING_MODE, feature);
diff mbox

Patch

diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-lib.c b/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
index 141bd70..41f53ae 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-lib.c
@@ -932,7 +932,7 @@  static int enable_edo_mode(struct gpmi_nand_data *this, int mode)
 
 	nand->select_chip(mtd, 0);
 
-	/* [1] send SET FEATURE commond to NAND */
+	/* [1] send SET FEATURE command to NAND */
 	feature[0] = mode;
 	ret = nand->onfi_set_features(mtd, nand,
 				ONFI_FEATURE_ADDR_TIMING_MODE, feature);