diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-12-02 13:37:09 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-12-22 15:58:24 -0500 |
commit | c96736092464cd653a7cada7f4e3ca1df656a760 (patch) | |
tree | c444b05cc181fe25eaedbd17d6f4946b161e7028 /drivers/mtd/nand | |
parent | 41bed23b78bf79ee68dbdff88c0461271a61f893 (diff) |
mtd: nand: gpmi: remove deprecated comment
Now that we have raw functions properly implemented we can remove this
FIXME.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Huang Shijie <shijie.huang@intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index f33e66457311..33f3c3c54dbc 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c | |||
@@ -1294,14 +1294,6 @@ exit_auxiliary: | |||
1294 | * ecc.read_page or ecc.read_page_raw function. Thus, the fact that MTD wants an | 1294 | * ecc.read_page or ecc.read_page_raw function. Thus, the fact that MTD wants an |
1295 | * ECC-based or raw view of the page is implicit in which function it calls | 1295 | * ECC-based or raw view of the page is implicit in which function it calls |
1296 | * (there is a similar pair of ECC-based/raw functions for writing). | 1296 | * (there is a similar pair of ECC-based/raw functions for writing). |
1297 | * | ||
1298 | * FIXME: The following paragraph is incorrect, now that there exist | ||
1299 | * ecc.read_oob_raw and ecc.write_oob_raw functions. | ||
1300 | * | ||
1301 | * Since MTD assumes the OOB is not covered by ECC, there is no pair of | ||
1302 | * ECC-based/raw functions for reading or or writing the OOB. The fact that the | ||
1303 | * caller wants an ECC-based or raw view of the page is not propagated down to | ||
1304 | * this driver. | ||
1305 | */ | 1297 | */ |
1306 | static int gpmi_ecc_read_oob(struct mtd_info *mtd, struct nand_chip *chip, | 1298 | static int gpmi_ecc_read_oob(struct mtd_info *mtd, struct nand_chip *chip, |
1307 | int page) | 1299 | int page) |