mtd: nand: ecc-hamming: Clarify the driver descriptions
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Sep 2020 23:01:16 +0000 (01:01 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:29 +0000 (22:37 +0100)
The include file pretends being the header for "ECC algorithm", while
it is just the header for the Hamming implementation. Make this clear
by rewording the sentence.

Do the same with the module description.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200929230124.31491-13-miquel.raynal@bootlin.com
drivers/mtd/nand/ecc-sw-hamming.c
include/linux/mtd/nand-ecc-sw-hamming.h

index 76966f5ff13f830120d989323a74a85b012690be..a17faed374a890ca121c2f9731836c275ee06d86 100644 (file)
@@ -481,4 +481,4 @@ EXPORT_SYMBOL(nand_correct_data);
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Frans Meulenbroeks <fransmeulenbroeks@gmail.com>");
-MODULE_DESCRIPTION("Generic NAND ECC support");
+MODULE_DESCRIPTION("NAND software Hamming ECC support");
index 30a0cfa50eed2ca69663401caf18f4aedd579b2d..85e9a929b5f9ed9c750b6ce6d35478a3ccf79dd5 100644 (file)
@@ -4,7 +4,7 @@
  *                         David Woodhouse <dwmw2@infradead.org>
  *                         Thomas Gleixner <tglx@linutronix.de>
  *
- * This file is the header for the ECC algorithm.
+ * This file is the header for the NAND Hamming ECC implementation.
  */
 
 #ifndef __MTD_NAND_ECC_SW_HAMMING_H__