diff mbox series

mtd: rawnand: atmel: Fix spelling mistake in error message

Message ID 20190401144901.8965-1-miquel.raynal@bootlin.com
State Accepted
Delegated to: Miquel Raynal
Headers show
Series mtd: rawnand: atmel: Fix spelling mistake in error message | expand

Commit Message

Miquel Raynal April 1, 2019, 2:49 p.m. UTC
Wrong copy/paste from the previous block, the error message should
refer to #size-cells instead of #address-cells.

Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 drivers/mtd/nand/raw/atmel/nand-controller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tudor Ambarus April 1, 2019, 2:53 p.m. UTC | #1
On 04/01/2019 05:49 PM, Miquel Raynal wrote:
> External E-Mail
> 
> 
> Wrong copy/paste from the previous block, the error message should
> refer to #size-cells instead of #address-cells.
> 
> Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver")
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>

> ---
>  drivers/mtd/nand/raw/atmel/nand-controller.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c
> index 5781fcf6b76c..3ec421ac44e2 100644
> --- a/drivers/mtd/nand/raw/atmel/nand-controller.c
> +++ b/drivers/mtd/nand/raw/atmel/nand-controller.c
> @@ -1797,7 +1797,7 @@ static int atmel_nand_controller_add_nands(struct atmel_nand_controller *nc)
>  
>  	ret = of_property_read_u32(np, "#size-cells", &val);
>  	if (ret) {
> -		dev_err(dev, "missing #address-cells property\n");
> +		dev_err(dev, "missing #size-cells property\n");
>  		return ret;
>  	}
>  
>
Miquel Raynal April 18, 2019, 4:12 p.m. UTC | #2
Hello,

Miquel Raynal <miquel.raynal@bootlin.com> wrote on Mon,  1 Apr 2019
16:49:01 +0200:

> Wrong copy/paste from the previous block, the error message should
> refer to #size-cells instead of #address-cells.
> 
> Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver")
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---

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

Thanks,
Miquèl
diff mbox series

Patch

diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c
index 5781fcf6b76c..3ec421ac44e2 100644
--- a/drivers/mtd/nand/raw/atmel/nand-controller.c
+++ b/drivers/mtd/nand/raw/atmel/nand-controller.c
@@ -1797,7 +1797,7 @@  static int atmel_nand_controller_add_nands(struct atmel_nand_controller *nc)
 
 	ret = of_property_read_u32(np, "#size-cells", &val);
 	if (ret) {
-		dev_err(dev, "missing #address-cells property\n");
+		dev_err(dev, "missing #size-cells property\n");
 		return ret;
 	}