summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/atmel
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-04-01 16:49:01 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-04-18 08:54:02 +0200
commite39bb786816453788836c367caefd72eceea380c (patch)
treef72a8381b36f610ced27d73954c93aca1b3d8029 /drivers/mtd/nand/raw/atmel
parentmtd: rawnand: fsl_elbc: Make SW ECC work (diff)
downloadlinux-e39bb786816453788836c367caefd72eceea380c.tar.xz
linux-e39bb786816453788836c367caefd72eceea380c.zip
mtd: rawnand: atmel: Fix spelling mistake in error message
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>
Diffstat (limited to 'drivers/mtd/nand/raw/atmel')
-rw-r--r--drivers/mtd/nand/raw/atmel/nand-controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c
index 80d14ba06245..8d6be90a6fe8 100644
--- a/drivers/mtd/nand/raw/atmel/nand-controller.c
+++ b/drivers/mtd/nand/raw/atmel/nand-controller.c
@@ -1808,7 +1808,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;
}