[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201030104507.4ec89ce3@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Fri, 30 Oct 2020 10:45:07 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
"Heiner Kallweit" <hkallweit1@...il.com>, netdev@...r.kernel.org,
Russell King <linux@...linux.org.uk>,
David Miller <davem@...emloft.net>,
Andrew Lunn <andrew@...n.ch>
Subject: Re: [PATCH v3] net: phy: leds: Deduplicate link LED trigger
registration
On Tue, 27 Oct 2020 20:21:46 +0200 Andy Shevchenko wrote:
> Refactor phy_led_trigger_register() and deduplicate its functionality
> when registering LED trigger for link.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
Applied..
> @@ -119,7 +114,7 @@ int phy_led_triggers_register(struct phy_device *phy)
>
> for (i = 0; i < phy->phy_num_led_triggers; i++) {
> err = phy_led_trigger_register(phy, &phy->phy_led_triggers[i],
> - speeds[i]);
> + speeds[i], phy_speed_to_str(speeds[i]));
after wrapping this to 80 chars.
Powered by blists - more mailing lists