Skip to content

Commit

Permalink
mtd: rawnand: marvell: Fix helper name in comment
Browse files Browse the repository at this point in the history
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: b252514 ("mtd: rawnand: marvell: Stop implementing ->select_chip()")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
  • Loading branch information
Miquel Raynal committed Apr 18, 2019
1 parent c49836f commit 2e16dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/raw/marvell_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2e16dc7

Please sign in to comment.