diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-01 16:49:01 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-18 08:54:02 +0200 |
commit | e39bb786816453788836c367caefd72eceea380c (patch) | |
tree | f72a8381b36f610ced27d73954c93aca1b3d8029 /drivers/mtd/nand | |
parent | f6424c22aa3673a0313a306be339495c67c41891 (diff) | |
download | linux-e39bb786816453788836c367caefd72eceea380c.tar.gz linux-e39bb786816453788836c367caefd72eceea380c.tar.bz2 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')
-rw-r--r-- | drivers/mtd/nand/raw/atmel/nand-controller.c | 2 |
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; } |