diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-03-24 16:22:32 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-06 09:21:49 -0400 |
commit | d23f29084018a3aa5ca6399a08c12eb7617ffa55 (patch) | |
tree | 53172e01fd260c3e8c612429a7893b44a5953f90 | |
parent | d3b1ca21e253547599a28002c1ea51348cb75c72 (diff) | |
download | u-boot-d23f29084018a3aa5ca6399a08c12eb7617ffa55.zip u-boot-d23f29084018a3aa5ca6399a08c12eb7617ffa55.tar.gz u-boot-d23f29084018a3aa5ca6399a08c12eb7617ffa55.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.h | 8 |
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); |