Skip to content
Commit 74cd23e8 authored by Li Zetao's avatar Li Zetao Committed by Lee Jones
Browse files

leds: trigger: netdev: Use module_led_trigger macro to simplify the code



Use the module_led_trigger macro to simplify the code, which is the
same as declaring with module_init() and module_exit().

Signed-off-by: default avatarLi Zetao <lizetao1@huawei.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230815075944.1089298-2-lizetao1@huawei.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent d3679199
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment