Skip to content

Commit 728ab0e

Browse files
aborzeszwesteri
authored andcommitted
thunderbolt: Update eeprom.c function documentation
Make eeprom.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 250afc7 commit 728ab0e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/thunderbolt/eeprom.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ struct tb_drom_entry_desc {
298298
*
299299
* Does not use the cached copy in sw->drom. Used during resume to check switch
300300
* identity.
301+
*
302+
* Return: %0 on success, negative errno otherwise.
301303
*/
302304
int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid)
303305
{
@@ -709,7 +711,7 @@ static int tb_drom_device_read(struct tb_switch *sw)
709711
* populates the fields in @sw accordingly. Can be called for any router
710712
* generation.
711713
*
712-
* Returns %0 in case of success and negative errno otherwise.
714+
* Return: %0 on success, negative errno otherwise.
713715
*/
714716
int tb_drom_read(struct tb_switch *sw)
715717
{

0 commit comments

Comments
 (0)