[PATCH] mtd: rawnand: marvell: Fix helper name in comment

Miquel Raynal miquel.raynal at bootlin.com
Thu Apr 18 09:19:59 PDT 2019


Hello,

Miquel Raynal <miquel.raynal at bootlin.com> wrote on Mon,  8 Apr 2019
11:28:49 +0200:

> Since the migration of the driver to stop using the legacy
> ->select_chip() hook, the marvell_nfc_select_chip() helper has been  
> 'renamed' to marvell_nfc_select_target(). Update a left-over reference
> to this helper in a comment in the ->resume() path.
> 
> Fixes: b25251414f6e00 ("mtd: rawnand: marvell: Stop implementing ->select_chip()")
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
>  drivers/mtd/nand/raw/marvell_nand.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c
> index d984538980e2..6796c7015d86 100644
> --- a/drivers/mtd/nand/raw/marvell_nand.c
> +++ b/drivers/mtd/nand/raw/marvell_nand.c
> @@ -2989,7 +2989,7 @@ static int __maybe_unused marvell_nfc_resume(struct device *dev)
>  
>  	/*
>  	 * Reset nfc->selected_chip so the next command will cause the timing
> -	 * registers to be restored in marvell_nfc_select_chip().
> +	 * registers to be restored in marvell_nfc_select_target().
>  	 */
>  	nfc->selected_chip = NULL;
>  


Applied to 
https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git 
branch nand/next.

Thanks,
Miquèl



More information about the linux-mtd mailing list