summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-04-01 16:49:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 09:21:33 +0100
commitd76562fe5cdbe6032f5278cd6cb51abf354193c7 (patch)
treeaa637edffcab50e4e9353b2feb8768ad0efce901
parentcabf7f90ced5088d16820221c9301c872a7a2a5d (diff)
downloadlinux-stable-d76562fe5cdbe6032f5278cd6cb51abf354193c7.tar.gz
linux-stable-d76562fe5cdbe6032f5278cd6cb51abf354193c7.tar.bz2
linux-stable-d76562fe5cdbe6032f5278cd6cb51abf354193c7.zip
mtd: rawnand: atmel: Fix spelling mistake in error message
commit e39bb786816453788836c367caefd72eceea380c upstream. 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> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 32e95af486a2..ea022712edee 100644
--- a/drivers/mtd/nand/raw/atmel/nand-controller.c
+++ b/drivers/mtd/nand/raw/atmel/nand-controller.c
@@ -1826,7 +1826,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;
}