xhh233 opened a new pull request, #22466:
URL: https://github.com/apache/nuttx/pull/22466

   ## Summary
   
   `drivers/power/pm/pm_runtime.c` is not nxstyle-clean: the `switch` in 
`rpm_changestate()` still uses the old indentation, and the initialisation 
assignments in `pm_runtime_init()` are not aligned. Because apache/nuttx runs 
`nxstyle` on changed files, **any** functional PR touching this file fails the 
`check` job — as happened in #22456.
   
   This is a whitespace-only preparation commit:
   
   * reindent the `switch` to the current NuttX style (`{`, `case`, case body, 
`break` each two spaces deeper than the previous level);
   * align the `=` operators of the initialisation block in `pm_runtime_init()`.
   
   No logic change: `git diff -w` against the previous tree is empty, and 
stripping all whitespace from both revisions produces identical files.
   
   ## Testing
   
   `nxstyle` on the resulting file reports no findings; `gcc -fsyntax-only` 
passes; whitespace-insensitive diff is empty. Once this lands, the functional 
change in #22172 can be re-proposed without dragging a 38-line whitespace diff 
into it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to