From: Miquel Raynal Date: Mon, 8 Apr 2019 09:28:49 +0000 (+0200) Subject: mtd: rawnand: marvell: Fix helper name in comment X-Git-Tag: v5.2-rc1~86^2~30^2~14 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2e16dc73ae65c106ede04dc42f439457b582fc8d;p=users%2Fdwmw2%2Flinux.git mtd: rawnand: marvell: Fix helper name in comment 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 Reviewed-by: Boris Brezillon --- diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c index 825c47b3fa0d1..0d29b5d6bcd5d 100644 --- a/drivers/mtd/nand/raw/marvell_nand.c +++ b/drivers/mtd/nand/raw/marvell_nand.c @@ -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;