net: phy: phy_device: Fix PHY LED blinking code comment
authorMarek Vasut <marex@denx.de>
Wed, 26 Jun 2024 03:06:17 +0000 (05:06 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jun 2024 23:33:26 +0000 (16:33 -0700)
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: 4e901018432e ("net: phy: phy_device: Call into the PHY driver to set LED blinking")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20240626030638.512069-1-marex@denx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/phy.h

index e6e83304558e07b1133b42302261639068e192b3..3be430cf3132198baffb99c9f959632ddec92127 100644 (file)
@@ -1122,7 +1122,7 @@ struct phy_driver {
                                  u8 index, enum led_brightness value);
 
        /**
-        * @led_blink_set: Set a PHY LED brightness.  Index indicates
+        * @led_blink_set: Set a PHY LED blinking.  Index indicates
         * which of the PHYs led should be configured to blink. Delays
         * are in milliseconds and if both are zero then a sensible
         * default should be chosen.  The call should adjust the