Thread (9 messages) 9 messages, 5 authors, 2021-03-29

Re: [PATCH v2 2/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver

From: Hermes Zhang <hidden>
Date: 2021-03-26 06:08:22
Also in: linux-leds, lkml

On 3/26/21 1:56 PM, Alexander Dahl wrote:
quoted
+
+module_platform_driver(multi_gpio_led_driver);
+
+MODULE_AUTHOR("Hermes Zhang [off-list ref]");
+MODULE_DESCRIPTION("Multiple GPIOs LED driver");
+MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:leds-multi-gpio");
I did not review thouroughly, but in my mail the indentation looks
wrong. Did checkpatch complain?
Sorry, I forgot to check the style before commit, but seems one problem
about extra space:

$ chkernel
ERROR: space prohibited before that ',' (ctx:WxW)
#164: FILE: drivers/leds/simple/leds-multi-gpio.c:76:
+            + sizeof(u8) * nr_states , GFP_KERNEL);
                                                   ^

I will fix it in next commit.


Best Regards,

Hermes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help