diff mbox series

[net-next] r8169: remove setting LED default trigger, this is done by LED core now

Message ID 3a9cd1a1-40ad-487d-8b1e-6bf255419232@gmail.com (mailing list archive)
State Accepted
Commit c885b95c58dd81d45e30a5608d1b6ef1f93a5717
Delegated to: Netdev Maintainers
Headers show
Series [net-next] r8169: remove setting LED default trigger, this is done by LED core now | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1048 this patch: 1048
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 6 of 6 maintainers
netdev/build_clang success Errors and warnings before: 1065 this patch: 1065
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1065 this patch: 1065
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-02-07--00-00 (tests: 684)

Commit Message

Heiner Kallweit Feb. 5, 2024, 9:54 p.m. UTC
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>
---
 drivers/net/ethernet/realtek/r8169_leds.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Simon Horman Feb. 7, 2024, 8:07 p.m. UTC | #1
On Mon, Feb 05, 2024 at 10:54:08PM +0100, Heiner Kallweit wrote:
> 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>

This patch looks fine to me,
but the cited commit is not present in net-next.
Heiner Kallweit Feb. 7, 2024, 8:43 p.m. UTC | #2
On 07.02.2024 21:07, Simon Horman wrote:
> On Mon, Feb 05, 2024 at 10:54:08PM +0100, Heiner Kallweit wrote:
>> 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>
> 
> This patch looks fine to me,
> but the cited commit is not present in net-next.

It's present in linux-next. Not sure when it will show up in net-next.
Andrew Lunn Feb. 7, 2024, 11:08 p.m. UTC | #3
On Wed, Feb 07, 2024 at 09:43:38PM +0100, Heiner Kallweit wrote:
> On 07.02.2024 21:07, Simon Horman wrote:
> > On Mon, Feb 05, 2024 at 10:54:08PM +0100, Heiner Kallweit wrote:
> >> 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>
> > 
> > This patch looks fine to me,
> > but the cited commit is not present in net-next.
> 
> It's present in linux-next. Not sure when it will show up in net-next.

1c75c424bd43 was merged via for-leds-next, which is probably why Simon
does not see it.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
patchwork-bot+netdevbpf@kernel.org Feb. 8, 2024, 3:10 a.m. UTC | #4
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 5 Feb 2024 22:54:08 +0100 you wrote:
> 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>
> ---
>  drivers/net/ethernet/realtek/r8169_leds.c | 1 -
>  1 file changed, 1 deletion(-)

Here is the summary with links:
  - [net-next] r8169: remove setting LED default trigger, this is done by LED core now
    https://git.kernel.org/netdev/net-next/c/c885b95c58dd

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/realtek/r8169_leds.c b/drivers/net/ethernet/realtek/r8169_leds.c
index 007d077ed..f082bd7d6 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;