Skip to content

Conversation

@no1wudi
Copy link
Contributor

@no1wudi no1wudi commented Jan 10, 2026

Summary

Fix checkpatch style violations by removing unnecessary parentheses around case labels in switch statements for power management callback functions across multiple board-specific LED and LCD drivers.

Impact

  • Impact on user: NO - Pure style fix, no functional changes
  • Impact on build: NO - Only formatting changes
  • Impact on hardware: NO
  • Impact on documentation: NO
  • Impact on security: NO
  • Impact on compatibility: NO

Testing

Verified ./tools/checkpatch.sh - on staged changes passes:

✔️ All checks pass.

Modified 38 files:

  • 37 board-specific LED/LCD drivers (boards/arm/*, boards/risc-v/*)
  • 1 tool script (tools/rp2040/make_flash_fs.c)

Remove unnecessary parentheses around case labels in switch statements
for power management callback functions. This fixes checkpatch style
violations for case statement formatting.

Signed-off-by: Huang Qi <[email protected]>
@acassis acassis merged commit 8b3862d into apache:master Jan 10, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Tooling Board: arm Board: risc-v Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants