mtd: rawnand: marvell: Fix helper name in comment
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 09:28:49 +0000 (11:28 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 18 Apr 2019 06:54:06 +0000 (08:54 +0200)
Since the migration of the driver to stop using the legacy
->select_chip() hook, the marvell_nfc_select_chip() helper has been
'renamed' to marvell_nfc_select_target(). Update a left-over reference
to this helper in a comment in the ->resume() path.

Fixes: b25251414f6e00 ("mtd: rawnand: marvell: Stop implementing ->select_chip()")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/mtd/nand/raw/marvell_nand.c

index 825c47b3fa0d1b02f96db1df4e11b56f7aa00367..0d29b5d6bcd5d646d56378c9e37480da1caadbe2 100644 (file)
@@ -2980,7 +2980,7 @@ static int __maybe_unused marvell_nfc_resume(struct device *dev)
 
        /*
         * Reset nfc->selected_chip so the next command will cause the timing
-        * registers to be restored in marvell_nfc_select_chip().
+        * registers to be restored in marvell_nfc_select_target().
         */
        nfc->selected_chip = NULL;