diff mbox series

mtd: fsl-quadspi: fix api naming typo _init_ahb_read

Message ID 1514889552-23603-1-git-send-email-yogeshnarayan.gaur@nxp.com
State Accepted
Delegated to: Boris Brezillon
Headers show
Series mtd: fsl-quadspi: fix api naming typo _init_ahb_read | expand

Commit Message

Yogesh Narayan Gaur Jan. 2, 2018, 10:39 a.m. UTC
Fix api naming typo _init_ahb_read
fsl_qspi_init_abh_read --> fsl_qspi_init_ahb_read

Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
---
 drivers/mtd/spi-nor/fsl-quadspi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Han Xu Jan. 18, 2018, 5:21 p.m. UTC | #1
On Tue, Jan 2, 2018 at 4:39 AM, Yogesh Gaur <yogeshnarayan.gaur@nxp.com> wrote:
> Fix api naming typo _init_ahb_read
> fsl_qspi_init_abh_read --> fsl_qspi_init_ahb_read
>
> Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
> ---
>  drivers/mtd/spi-nor/fsl-quadspi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c
> index f17d224..943e9c4 100644
> --- a/drivers/mtd/spi-nor/fsl-quadspi.c
> +++ b/drivers/mtd/spi-nor/fsl-quadspi.c
> @@ -661,7 +661,7 @@ static void fsl_qspi_set_map_addr(struct fsl_qspi *q)
>   * causes the controller to clear the buffer, and use the sequence pointed
>   * by the QUADSPI_BFGENCR[SEQID] to initiate a read from the flash.
>   */
> -static void fsl_qspi_init_abh_read(struct fsl_qspi *q)
> +static void fsl_qspi_init_ahb_read(struct fsl_qspi *q)
>  {
>         void __iomem *base = q->iobase;
>         int seqid;
> @@ -795,7 +795,7 @@ static int fsl_qspi_nor_setup_last(struct fsl_qspi *q)
>         fsl_qspi_init_lut(q);
>
>         /* Init for AHB read */
> -       fsl_qspi_init_abh_read(q);
> +       fsl_qspi_init_ahb_read(q);
>
>         return 0;
>  }
> --
> 1.9.1
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

Acked-by: Han Xu <han.xu@nxp.com>
Boris Brezillon May 18, 2018, 8:02 p.m. UTC | #2
On Tue, 2 Jan 2018 16:09:12 +0530
Yogesh Gaur <yogeshnarayan.gaur@nxp.com> wrote:

> Fix api naming typo _init_ahb_read
> fsl_qspi_init_abh_read --> fsl_qspi_init_ahb_read
> 
> Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>

Queued to spi-nor/next.

Thanks,

Boris

> ---
>  drivers/mtd/spi-nor/fsl-quadspi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c
> index f17d224..943e9c4 100644
> --- a/drivers/mtd/spi-nor/fsl-quadspi.c
> +++ b/drivers/mtd/spi-nor/fsl-quadspi.c
> @@ -661,7 +661,7 @@ static void fsl_qspi_set_map_addr(struct fsl_qspi *q)
>   * causes the controller to clear the buffer, and use the sequence pointed
>   * by the QUADSPI_BFGENCR[SEQID] to initiate a read from the flash.
>   */
> -static void fsl_qspi_init_abh_read(struct fsl_qspi *q)
> +static void fsl_qspi_init_ahb_read(struct fsl_qspi *q)
>  {
>  	void __iomem *base = q->iobase;
>  	int seqid;
> @@ -795,7 +795,7 @@ static int fsl_qspi_nor_setup_last(struct fsl_qspi *q)
>  	fsl_qspi_init_lut(q);
>  
>  	/* Init for AHB read */
> -	fsl_qspi_init_abh_read(q);
> +	fsl_qspi_init_ahb_read(q);
>  
>  	return 0;
>  }
diff mbox series

Patch

diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c
index f17d224..943e9c4 100644
--- a/drivers/mtd/spi-nor/fsl-quadspi.c
+++ b/drivers/mtd/spi-nor/fsl-quadspi.c
@@ -661,7 +661,7 @@  static void fsl_qspi_set_map_addr(struct fsl_qspi *q)
  * causes the controller to clear the buffer, and use the sequence pointed
  * by the QUADSPI_BFGENCR[SEQID] to initiate a read from the flash.
  */
-static void fsl_qspi_init_abh_read(struct fsl_qspi *q)
+static void fsl_qspi_init_ahb_read(struct fsl_qspi *q)
 {
 	void __iomem *base = q->iobase;
 	int seqid;
@@ -795,7 +795,7 @@  static int fsl_qspi_nor_setup_last(struct fsl_qspi *q)
 	fsl_qspi_init_lut(q);
 
 	/* Init for AHB read */
-	fsl_qspi_init_abh_read(q);
+	fsl_qspi_init_ahb_read(q);
 
 	return 0;
 }