Commit 844cc464 authored by Miquel Raynal's avatar Miquel Raynal
Browse files

mtd: rawnand: timings: Update onfi_fill_data_interface() kernel doc



Describe all parameters and drop the legacy [NAND Interface] prefix.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-13-miquel.raynal@bootlin.com
parent 5e179a53
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -274,9 +274,10 @@ static const struct nand_data_interface onfi_sdr_timings[] = {
};

/**
 * onfi_fill_data_interface - [NAND Interface] Initialize a data interface from
 * given ONFI mode
 * @mode: The ONFI timing mode
 * onfi_fill_data_interface - Initialize a data interface from a given ONFI mode
 * @chip: The NAND chip
 * @type: The data interface type
 * @timing_mode: The ONFI timing mode
 */
int onfi_fill_data_interface(struct nand_chip *chip,
			     enum nand_data_interface_type type,