Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: devices: docg3: Use correct function names in comment blocks

The incorrect function name is being used in the comment for functions
doc_set_reliable_mode, doc_read_seek and docg3_probe. Correct these
comments.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220805175423.2374939-1-colin.i.king@gmail.com

authored by

Colin Ian King and committed by
Miquel Raynal
f535ca40 8b740c08

+3 -3
+3 -3
drivers/mtd/devices/docg3.c
··· 300 300 } 301 301 302 302 /** 303 - * doc_set_data_mode - Sets the flash to normal or reliable data mode 303 + * doc_set_reliable_mode - Sets the flash to normal or reliable data mode 304 304 * @docg3: the device 305 305 * 306 306 * The reliable data mode is a bit slower than the fast mode, but less errors ··· 442 442 } 443 443 444 444 /** 445 - * doc_seek - Set both flash planes to the specified block, page for reading 445 + * doc_read_seek - Set both flash planes to the specified block, page for reading 446 446 * @docg3: the device 447 447 * @block0: the first plane block index 448 448 * @block1: the second plane block index ··· 1951 1951 } 1952 1952 1953 1953 /** 1954 - * doc_probe - Probe the IO space for a DiskOnChip G3 chip 1954 + * docg3_probe - Probe the IO space for a DiskOnChip G3 chip 1955 1955 * @pdev: platform device 1956 1956 * 1957 1957 * Probes for a G3 chip at the specified IO space in the platform data