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 2eee9598fcd6e6013b105661d77dcb073e2e7546
Author: huojianchao <[email protected]>
AuthorDate: Thu Nov 19 16:11:15 2026 +0800

    drivers/devfreq: fix the indentation in devfreq_read()
    
    The procfs_sprintf() that ends the frequency table line was indented
    one level too deep, which nxstyle reports as "Bad alignment".
    
    No functional change.
    
    Signed-off-by: huojianchao <[email protected]>
---
 drivers/devfreq/devfreq_procfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/devfreq/devfreq_procfs.c b/drivers/devfreq/devfreq_procfs.c
index d97b2f3deb1..113a09a2107 100644
--- a/drivers/devfreq/devfreq_procfs.c
+++ b/drivers/devfreq/devfreq_procfs.c
@@ -203,7 +203,7 @@ static ssize_t devfreq_read(FAR struct file *filep,
                          " %"PRIu32"", devfreq->freq_table[i]);
         }
 
-        procfs_sprintf(buffer, buflen, &offset, "\n");
+      procfs_sprintf(buffer, buflen, &offset, "\n");
     }
 
 #ifdef CONFIG_DEVFREQ_PROCFS_QOS

Reply via email to