mtd: nand: denali: fix comment of denali_nand_info::flash_mem
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Mar 2017 20:07:05 +0000 (05:07 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 24 Mar 2017 08:51:34 +0000 (09:51 +0100)
The same comment "Mapped io reg base address" for flash_reg and
flash_mem probably due to the mistake of copy-paste work.
Of course, the latter is not the register base address.

Reword the comments using the terminology in the Denali User's Guide.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.h

index 6573ea59d4ffb6dcc442fa551fd0053c54837e77..403a7c82d1c7a50d4457c5a7bd8f8f3176c17a40 100644 (file)
@@ -351,8 +351,8 @@ struct denali_nand_info {
        struct device *dev;
        int total_used_banks;
        uint16_t page;
-       void __iomem *flash_reg;  /* Mapped io reg base address */
-       void __iomem *flash_mem;  /* Mapped io reg base address */
+       void __iomem *flash_reg;        /* Register Interface */
+       void __iomem *flash_mem;        /* Host Data/Command Interface */
 
        /* elements used by ISR */
        struct completion complete;