[PATCH net-next v2 1/4] net: phy: dap8211r: fix kernel-doc comments for extended register helpers
From: Artem Shimko
Date: Tue Nov 17 2026 - 06:44:51 EST
The kernel-doc comments for dap8211r_read_ext() and dap8211r_modify_ext()
incorrectly state that the caller must hold the MDIO bus lock.
Remove the misleading sentence from both comments since the functions
lock MDIO internally by themselves.
Fixes: d90265e75584d ("net: phy: add DAPU Telecom DAP8211R(I) Gigabit Ethernet PHY driver")
Signed-off-by: Artem Shimko <a.shimko.dev@xxxxxxxxx>
---
drivers/net/phy/dap8211r.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/phy/dap8211r.c b/drivers/net/phy/dap8211r.c
index 0bf770f8ebbb..1fe20efd394d 100644
--- a/drivers/net/phy/dap8211r.c
+++ b/drivers/net/phy/dap8211r.c
@@ -69,7 +69,6 @@ static const int dap8211r_internal_delay[] = {0, 150, 300, 450, 600, 750, 900,
* @reg: Extended register address
*
* Reads a PHY extended register using the indirect access method.
- * The caller must hold the MDIO bus lock.
*
* Return: Register value on success, or negative error code
*/
@@ -97,7 +96,6 @@ static int dap8211r_read_ext(struct phy_device *phydev, u16 reg)
*
* Modifies a PHY extended register using the indirect access method.
* New value = (old value & ~mask) | set.
- * The caller must hold the MDIO bus lock.
*
* Return: 0 on success, or negative error code
*/
--
2.43.0