phy: mdio: add kerneldoc for __devm_mdiobus_register()

This function is not documented. Add a short kerneldoc description.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Bartosz Golaszewski 2020-06-29 14:03:42 +02:00 committed by David S. Miller
parent 8b11c20a65
commit 6a9a5723cb

View File

@ -2,6 +2,13 @@
#include <linux/phy.h>
/**
* __devm_mdiobus_register - Resource-managed variant of mdiobus_register()
* @bus: MII bus structure to register
* @owner: Owning module
*
* Returns 0 on success, negative error number on failure.
*/
int __devm_mdiobus_register(struct mii_bus *bus, struct module *owner)
{
int ret;