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

Configure Feed

Select the types of activity you want to include in your feed.

thunderbolt: Update retimer.c function documentation

Make retimer.c function documentation compliant with current kernel-doc
standards. No functional changes.

Signed-off-by: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>

authored by

Alan Borzeszkowski and committed by
Mika Westerberg
f72f4d5c d015642a

+5 -2
+5 -2
drivers/thunderbolt/retimer.c
··· 27 27 * @buf: Data read from NVM is stored here 28 28 * @size: Number of bytes to read 29 29 * 30 - * Reads retimer NVM and copies the contents to @buf. Returns %0 if the 31 - * read was successful and negative errno in case of failure. 30 + * Reads retimer NVM and copies the contents to @buf. 31 + * 32 + * Return: %0 if the read was successful, negative errno in case of failure. 32 33 */ 33 34 int tb_retimer_nvm_read(struct tb_retimer *rt, unsigned int address, void *buf, 34 35 size_t size) ··· 504 503 * Then Tries to enumerate on-board retimers connected to @port. Found 505 504 * retimers are registered as children of @port if @add is set. Does 506 505 * not scan for cable retimers for now. 506 + * 507 + * Return: %0 on success, negative errno otherwise. 507 508 */ 508 509 int tb_retimer_scan(struct tb_port *port, bool add) 509 510 {