aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-03-24 16:22:32 +0100
committerTom Rini <trini@konsulko.com>2022-04-06 09:21:49 -0400
commitd23f29084018a3aa5ca6399a08c12eb7617ffa55 (patch)
tree53172e01fd260c3e8c612429a7893b44a5953f90
parentd3b1ca21e253547599a28002c1ea51348cb75c72 (diff)
downloadu-boot-WIP/2022-04-06-assorted-updates.zip
u-boot-WIP/2022-04-06-assorted-updates.tar.gz
u-boot-WIP/2022-04-06-assorted-updates.tar.bz2
dm: fix function documentation in include/dm/ofnode.hWIP/2022-04-06-assorted-updates
We use Sphinx style comments to describe functions. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--include/dm/ofnode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 744dffe..6a996d9 100644
--- a/include/dm/ofnode.h
+++ b/include/dm/ofnode.h
@@ -900,10 +900,10 @@ int ofnode_read_pci_vendev(ofnode node, u16 *vendor, u16 *device);
* Look at the compatible property of a device node that represents a eth phy
* device and extract phy vendor id and device id from it.
*
- * @param node node to examine
- * @param vendor vendor id of the eth phy device
- * @param device device id of the eth phy device
- * @return 0 if ok, negative on error
+ * @node: node to examine
+ * @vendor: vendor id of the eth phy device
+ * @device: device id of the eth phy device
+ * Return: 0 if ok, negative on error
*/
int ofnode_read_eth_phy_id(ofnode node, u16 *vendor, u16 *device);