Commit 19c5a5fe authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

net: phy: Fixup parameters in kerneldoc

Correct the kerneldoc for a few structure and function calls,
as reported by C=1 W=1.

Cc: Alexandru Ardelean <alexaundru.ardelean@analog.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3f2edd30
...@@ -106,8 +106,8 @@ ...@@ -106,8 +106,8 @@
/** /**
* struct adin_cfg_reg_map - map a config value to aregister value * struct adin_cfg_reg_map - map a config value to aregister value
* @cfg value in device configuration * @cfg: value in device configuration
* @reg value in the register * @reg: value in the register
*/ */
struct adin_cfg_reg_map { struct adin_cfg_reg_map {
int cfg; int cfg;
...@@ -135,9 +135,9 @@ static const struct adin_cfg_reg_map adin_rmii_fifo_depths[] = { ...@@ -135,9 +135,9 @@ static const struct adin_cfg_reg_map adin_rmii_fifo_depths[] = {
/** /**
* struct adin_clause45_mmd_map - map to convert Clause 45 regs to Clause 22 * struct adin_clause45_mmd_map - map to convert Clause 45 regs to Clause 22
* @devad device address used in Clause 45 access * @devad: device address used in Clause 45 access
* @cl45_regnum register address defined by Clause 45 * @cl45_regnum: register address defined by Clause 45
* @adin_regnum equivalent register address accessible via Clause 22 * @adin_regnum: equivalent register address accessible via Clause 22
*/ */
struct adin_clause45_mmd_map { struct adin_clause45_mmd_map {
int devad; int devad;
...@@ -174,7 +174,7 @@ static const struct adin_hw_stat adin_hw_stats[] = { ...@@ -174,7 +174,7 @@ static const struct adin_hw_stat adin_hw_stats[] = {
/** /**
* struct adin_priv - ADIN PHY driver private data * struct adin_priv - ADIN PHY driver private data
* stats statistic counters for the PHY * @stats: statistic counters for the PHY
*/ */
struct adin_priv { struct adin_priv {
u64 stats[ARRAY_SIZE(adin_hw_stats)]; u64 stats[ARRAY_SIZE(adin_hw_stats)];
......
...@@ -17,7 +17,8 @@ static DEFINE_MUTEX(mdio_board_lock); ...@@ -17,7 +17,8 @@ static DEFINE_MUTEX(mdio_board_lock);
/** /**
* mdiobus_setup_mdiodev_from_board_info - create and setup MDIO devices * mdiobus_setup_mdiodev_from_board_info - create and setup MDIO devices
* from pre-collected board specific MDIO information * from pre-collected board specific MDIO information
* @mdiodev: MDIO device pointer * @bus: Bus the board_info belongs to
* @cb: Callback to create device on bus
* Context: can sleep * Context: can sleep
*/ */
void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus, void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,
......
...@@ -181,7 +181,7 @@ static int mdio_remove(struct device *dev) ...@@ -181,7 +181,7 @@ static int mdio_remove(struct device *dev)
/** /**
* mdio_driver_register - register an mdio_driver with the MDIO layer * mdio_driver_register - register an mdio_driver with the MDIO layer
* @new_driver: new mdio_driver to register * @drv: new mdio_driver to register
*/ */
int mdio_driver_register(struct mdio_driver *drv) int mdio_driver_register(struct mdio_driver *drv)
{ {
......
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