mbox series

[-next,0/2] Simplify the code with declaration-driven macros

Message ID 20230815075944.1089298-1-lizetao1@huawei.com
Headers show
Series Simplify the code with declaration-driven macros | expand

Message

Li Zetao Aug. 15, 2023, 7:59 a.m. UTC
The patch set uses the declaration-driven macros to simplify the code.

Li Zetao (2):
  leds: trigger: netdev: Use module_led_trigger macro to simplify the
    code
  leds: Use module_misc_device macro to simplify the code

 drivers/leds/trigger/ledtrig-netdev.c | 13 +------------
 drivers/leds/uleds.c                  | 12 +-----------
 2 files changed, 2 insertions(+), 23 deletions(-)