diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-15 15:59:44 +0800 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-08-18 11:42:54 +0100 |
commit | a916d720ab5b4facd956fd2ec8332946f763cfbf (patch) | |
tree | fd7379f38c27c5794e4ab98015a053b060b480ea /drivers/leds/leds-aw200xx.c | |
parent | 74cd23e87d7b5ebd5185d3930a7d95fbd859a256 (diff) |
leds: uleds: Use module_misc_device macro to simplify the code
Use the module_misc_device 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-3-lizetao1@huawei.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/leds-aw200xx.c')
0 files changed, 0 insertions, 0 deletions