aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-11-13 18:15:02 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-01-27 17:45:31 +0100
commit0dcf2572710d68c305e58946c435ddf67ea16bf3 (patch)
tree513a170bd890ef5b6734388f709dc7e17d9fc692 /drivers/mtd
parentmtd: rawnand: add unspecified HAS_IOMEM dependency (diff)
downloadlinux-dev-0dcf2572710d68c305e58946c435ddf67ea16bf3.tar.xz
linux-dev-0dcf2572710d68c305e58946c435ddf67ea16bf3.zip
mtd: concat: Fix a comment referring to an unknown symbol
Fix the comment describing what the mtd_concat_destroy() function does. It referrers to the concat_mtd_devs symbol which has never existed (at least not since the beginning of the Git era). Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/mtdconcat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdconcat.c
index 170a7221b35f..1d6c9e7e7b7d 100644
--- a/drivers/mtd/mtdconcat.c
+++ b/drivers/mtd/mtdconcat.c
@@ -841,10 +841,7 @@ struct mtd_info *mtd_concat_create(struct mtd_info *subdev[], /* subdevices to c
return &concat->mtd;
}
-/*
- * This function destroys an MTD object obtained from concat_mtd_devs()
- */
-
+/* Cleans the context obtained from mtd_concat_create() */
void mtd_concat_destroy(struct mtd_info *mtd)
{
struct mtd_concat *concat = CONCAT(mtd);