Skip to content

Commit d3dcb08

Browse files
Marek Vasutkuba-moo
authored andcommitted
net: phy: phy_device: Fix PHY LED blinking code comment
Fix copy-paste error in the code comment. The code refers to LED blinking configuration, not brightness configuration. It was likely copied from comment above this one which does refer to brightness configuration. Fixes: 4e90101 ("net: phy: phy_device: Call into the PHY driver to set LED blinking") Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent ffb7aa9 commit d3dcb08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/phy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ struct phy_driver {
11221122
u8 index, enum led_brightness value);
11231123

11241124
/**
1125-
* @led_blink_set: Set a PHY LED brightness. Index indicates
1125+
* @led_blink_set: Set a PHY LED blinking. Index indicates
11261126
* which of the PHYs led should be configured to blink. Delays
11271127
* are in milliseconds and if both are zero then a sensible
11281128
* default should be chosen. The call should adjust the

0 commit comments

Comments
 (0)