diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-10-27 20:21:46 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-30 10:43:37 -0700 |
commit | 043d2be2a78202fceb31647cc1802e0183ce09e2 (patch) | |
tree | 703db1b1a838ca81ae527e7eb0f654dd1957eea3 /net | |
parent | be1c7eae8c7dfc84b826ca7796d90f36d4abf58a (diff) |
net: phy: leds: Deduplicate link LED trigger registration
Refactor phy_led_trigger_register() and deduplicate its functionality
when registering LED trigger for link.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20201027182146.21355-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions