Skip to content

Commit

Permalink
phy: mdio: add kerneldoc for __devm_mdiobus_register()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
brgl authored and davem330 committed Jun 30, 2020
1 parent 8b11c20 commit 6a9a572
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/net/phy/mdio_devres.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a9a572

Please sign in to comment.