summaryrefslogtreecommitdiff
path: root/drivers/leds/uleds.c
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-15 15:59:43 +0800
committerLee Jones <lee@kernel.org>2023-08-18 11:42:05 +0100
commit74cd23e87d7b5ebd5185d3930a7d95fbd859a256 (patch)
tree712ae61f154f9565c1eca899bf3f8af5ccf3b975 /drivers/leds/uleds.c
parentd3679199f6847061683069d65737a55a8a5c60ef (diff)
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: Li Zetao <lizetao1@huawei.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20230815075944.1089298-2-lizetao1@huawei.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/uleds.c')
0 files changed, 0 insertions, 0 deletions