This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 2ca344080f690edc2871b847521dc2596fd59e7a
Author: Kerogit <[email protected]>
AuthorDate: Wed Oct 21 00:12:12 2026 +0200

    drivers/leds/ws2812: fix checkpatch complaint
    
    This change fixes checkpatch complaint about missing blank line
    after variable declarations.
    
    Signed-off-by: Kerogit <[email protected]>
---
 drivers/leds/ws2812.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/leds/ws2812.c b/drivers/leds/ws2812.c
index 6988a9b24c0..a87ce76f867 100644
--- a/drivers/leds/ws2812.c
+++ b/drivers/leds/ws2812.c
@@ -613,6 +613,7 @@ int ws2812_register(FAR const char          *dev_path,
   /* Register the character driver */
 
   int ret = register_driver(dev_path, &g_ws2812fops, 0600, dev_data);
+
   if (ret < 0)
     {
       lederr("ERROR: Failed to register ws2812 driver: %d\n", ret);

Reply via email to