mtd: rawnand: trivial spelling
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Tue, 9 Jun 2020 12:45:57 +0000 (13:45 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:10 +0000 (08:35 +0200)
The word 'descriptor' is misspelled throughout the tree.

Fix it up accordingly:
    decriptors -> descriptors

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200609124610.3445662-5-kieran.bingham+renesas@ideasonboard.com
drivers/mtd/nand/raw/mxc_nand.c
drivers/mtd/nand/raw/nand_bbt.c

index 07c41e8..a043d76 100644 (file)
@@ -1432,7 +1432,7 @@ static int mxc_nand_get_features(struct nand_chip *chip, int addr,
 }
 
 /*
- * The generic flash bbt decriptors overlap with our ecc
+ * The generic flash bbt descriptors overlap with our ecc
  * hardware, so define some i.MX specific ones.
  */
 static uint8_t bbt_pattern[] = { 'B', 'b', 't', '0' };
index 96045d6..344a24f 100644 (file)
@@ -1226,7 +1226,7 @@ static int nand_scan_bbt(struct nand_chip *this, struct nand_bbt_descr *bd)
                return -ENOMEM;
 
        /*
-        * If no primary table decriptor is given, scan the device to build a
+        * If no primary table descriptor is given, scan the device to build a
         * memory based bad block table.
         */
        if (!td) {