diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-02-05 22:54:08 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-07 18:53:42 -0800 |
commit | c885b95c58dd81d45e30a5608d1b6ef1f93a5717 (patch) | |
tree | 46327413dd319b6a35b04310f13f742c522b6bf3 /drivers/net/ethernet/realtek | |
parent | 006e89649fa913e285b931f1b8dfd6485d153ca7 (diff) | |
download | lwn-c885b95c58dd81d45e30a5608d1b6ef1f93a5717.tar.gz lwn-c885b95c58dd81d45e30a5608d1b6ef1f93a5717.zip |
r8169: remove setting LED default trigger, this is done by LED core now
After 1c75c424bd43 ("leds: class: If no default trigger is given, make
hw_control trigger the default trigger") this line isn't needed any
longer.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/3a9cd1a1-40ad-487d-8b1e-6bf255419232@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169_leds.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169_leds.c b/drivers/net/ethernet/realtek/r8169_leds.c index 007d077edcad..f082bd7d6194 100644 --- a/drivers/net/ethernet/realtek/r8169_leds.c +++ b/drivers/net/ethernet/realtek/r8169_leds.c @@ -129,7 +129,6 @@ static void rtl8168_setup_ldev(struct r8169_led_classdev *ldev, r8169_get_led_name(tp, index, led_name, LED_MAX_NAME_SIZE); led_cdev->name = led_name; - led_cdev->default_trigger = "netdev"; led_cdev->hw_control_trigger = "netdev"; led_cdev->flags |= LED_RETAIN_AT_SHUTDOWN; led_cdev->hw_control_is_supported = rtl8168_led_hw_control_is_supported; |