Skip to content

Commit f72f4d5

Browse files
aborzeszwesteri
authored andcommitted
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>
1 parent d015642 commit f72f4d5

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

drivers/thunderbolt/retimer.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
* @buf: Data read from NVM is stored here
2828
* @size: Number of bytes to read
2929
*
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.
3233
*/
3334
int tb_retimer_nvm_read(struct tb_retimer *rt, unsigned int address, void *buf,
3435
size_t size)
@@ -503,6 +504,8 @@ static struct tb_retimer *tb_port_find_retimer(struct tb_port *port, u8 index)
503504
* Then Tries to enumerate on-board retimers connected to @port. Found
504505
* retimers are registered as children of @port if @add is set. Does
505506
* not scan for cable retimers for now.
507+
*
508+
* Return: %0 on success, negative errno otherwise.
506509
*/
507510
int tb_retimer_scan(struct tb_port *port, bool add)
508511
{

0 commit comments

Comments
 (0)