From: Heinrich Schuchardt Date: Thu, 24 Mar 2022 15:22:32 +0000 (+0100) Subject: dm: fix function documentation in include/dm/ofnode.h X-Git-Tag: baikal/mips/sdk5.9~3^2~120^2 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=8af36a96443f15bbe1363b99c3304f6f75715eda;p=uboot.git dm: fix function documentation in include/dm/ofnode.h We use Sphinx style comments to describe functions. Signed-off-by: Heinrich Schuchardt Reviewed-by: Bin Meng --- diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h index 744dffe0a2..6a996d9521 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);