net: phy: Fix device_set_wakeup_enable() reference in kernel-doc
Subsystems (3)
PATCH v2 1/1 net: phy: Fix device_set_wakeup_enable() reference in kernel-doc
The phy_may_wakeup() documentation refers to device_set_wakeup_enabled(), but the function is named device_set_wakeup_enable(). Correct the reference.
---
v2:
- Target net and add a Fixes tag (Andrew Lunn).
- No source changes from v1.
v1: https://lore.kernel.org/r/[email protected]/
include/linux/phy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/phy.h +1 -1
@@ -1697,7 +1697,7 @@ static inline bool phy_can_wakeup(struct phy_device *phydev)* phy_may_wakeup() - indicate whether PHY has wakeup enabled * @phydev: The phy_device struct * -* Returns: true/false depending on the PHY driver's device_set_wakeup_enabled() +* Returns: true/false depending on the PHY driver's device_set_wakeup_enable() * setting if using the driver model, otherwise the legacy determination. */ bool phy_may_wakeup (struct phy_device *phydev);
Quoted 7 lines · Karl Mehltretter
The
phy_may_wakeup()documentation refers todevice_set_wakeup_enabled(), but the function is nameddevice_set_wakeup_enable(). Correct the reference.Fixes b344bfacf1de ("net: phy: add phy_may_wakeup()")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Andrew
Quoted 7 lines · Karl Mehltretter
The
phy_may_wakeup()documentation refers todevice_set_wakeup_enabled(), but the function is nameddevice_set_wakeup_enable(). Correct the reference.Fixes b344bfacf1de ("net: phy: add phy_may_wakeup()")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Signature · 1 line
Florian
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Thu, 17 Sep 2026 08:30:51 +0200 you wrote:
The
phy_may_wakeup()documentation refers todevice_set_wakeup_enabled(), but the function is nameddevice_set_wakeup_enable(). Correct the reference.Fixes b344bfacf1de ("net: phy: add phy_may_wakeup()")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>[...]
Here is the summary with links:
- [net,v2] net: phy: Fix device_set_wakeup_enable() reference in kernel-doc
https://git.kernel.org/netdev/net-next/c/d4f90143b9ff
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html