Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: core: Document function args

Some function arguments are missing from documentation prompting
validation kernel doc script to complain:

drivers/phy/phy-core.c:1078: warning: Function parameter or member
'children' not described in '__devm_of_phy_provider_register'
drivers/phy/phy-core.c:1125: warning: Function parameter or member
'phy_provider' not described in 'devm_of_phy_provider_unregister'

Add the documentation for these

Link: https://lore.kernel.org/r/20200629145010.122675-2-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

+2
+2
drivers/phy/phy-core.c
··· 1062 1062 * __devm_of_phy_provider_register() - create/register phy provider with the 1063 1063 * framework 1064 1064 * @dev: struct device of the phy provider 1065 + * @children: device node containing children (if different from dev->of_node) 1065 1066 * @owner: the module owner containing of_xlate 1066 1067 * @of_xlate: function pointer to obtain phy instance from phy provider 1067 1068 * ··· 1118 1117 /** 1119 1118 * devm_of_phy_provider_unregister() - remove phy provider from the framework 1120 1119 * @dev: struct device of the phy provider 1120 + * @phy_provider: phy provider returned by of_phy_provider_register() 1121 1121 * 1122 1122 * destroys the devres associated with this phy provider and invokes 1123 1123 * of_phy_provider_unregister to unregister the phy provider.