Commit 69280228 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jakub Kicinski

net: phy: fix kernel-doc markups

Some functions have different names between their prototypes
and the kernel-doc markup.
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5cfa9a61
...@@ -472,7 +472,7 @@ static inline void of_mdiobus_link_mdiodev(struct mii_bus *mdio, ...@@ -472,7 +472,7 @@ static inline void of_mdiobus_link_mdiodev(struct mii_bus *mdio,
#endif #endif
/** /**
* mdiobus_create_device_from_board_info - create a full MDIO device given * mdiobus_create_device - create a full MDIO device given
* a mdio_board_info structure * a mdio_board_info structure
* @bus: MDIO bus to create the devices on * @bus: MDIO bus to create the devices on
* @bi: mdio_board_info structure describing the devices * @bi: mdio_board_info structure describing the devices
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <linux/phy.h> #include <linux/phy.h>
/** /**
* genphy_c45_setup_forced - configures a forced speed * genphy_c45_pma_setup_forced - configures a forced speed
* @phydev: target phy_device struct * @phydev: target phy_device struct
*/ */
int genphy_c45_pma_setup_forced(struct phy_device *phydev) int genphy_c45_pma_setup_forced(struct phy_device *phydev)
......
...@@ -489,7 +489,7 @@ void phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies) ...@@ -489,7 +489,7 @@ void phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies)
EXPORT_SYMBOL(phy_queue_state_machine); EXPORT_SYMBOL(phy_queue_state_machine);
/** /**
* phy_queue_state_machine - Trigger the state machine to run now * phy_trigger_machine - Trigger the state machine to run now
* *
* @phydev: the phy_device struct * @phydev: the phy_device struct
*/ */
......
...@@ -2746,7 +2746,7 @@ static int phy_get_int_delay_property(struct device *dev, const char *name) ...@@ -2746,7 +2746,7 @@ static int phy_get_int_delay_property(struct device *dev, const char *name)
#endif #endif
/** /**
* phy_get_delay_index - returns the index of the internal delay * phy_get_internal_delay - returns the index of the internal delay
* @phydev: phy_device struct * @phydev: phy_device struct
* @dev: pointer to the devices device struct * @dev: pointer to the devices device struct
* @delay_values: array of delays the PHY supports * @delay_values: array of delays the PHY supports
......
...@@ -1649,7 +1649,7 @@ int phylink_ethtool_set_pauseparam(struct phylink *pl, ...@@ -1649,7 +1649,7 @@ int phylink_ethtool_set_pauseparam(struct phylink *pl,
EXPORT_SYMBOL_GPL(phylink_ethtool_set_pauseparam); EXPORT_SYMBOL_GPL(phylink_ethtool_set_pauseparam);
/** /**
* phylink_ethtool_get_eee_err() - read the energy efficient ethernet error * phylink_get_eee_err() - read the energy efficient ethernet error
* counter * counter
* @pl: a pointer to a &struct phylink returned from phylink_create(). * @pl: a pointer to a &struct phylink returned from phylink_create().
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment