Fix imxrt nxstyle issues - #20134
Merged
Merged
Fix imxrt nxstyle issues#20134
Conversation
Add a missing blank line Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Fix alignment issues Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Add blank lines, fix alignment and add braces to switch-case Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Add braces to switch-case Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Add a missing blank line Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Fix alignment in multiple places Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Fix alignment, add blank lines and add braces where missing. Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Add blank lines, fix alignment and add braces to switch-case Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
jlaitine
requested review from
acassis,
davids5,
jerpelea,
masayuki2009 and
xiaoxiang781216
as code owners
September 14, 2026 07:34
xiaoxiang781216
approved these changes
Sep 14, 2026
PetervdPerk-NXP
approved these changes
Sep 14, 2026
acassis
approved these changes
Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
While working on #20114 , I found several nxstyle issues currently present in imxrt.
This PR fixes the style issues for those files, which the PR mentioned above touches. There are more style issues in other files in the same directory, which may need to be addressed in the future if/when those files need to be touched.
Note: In the github diff the imxrt_usbdev.c diff looks horrible. In reality it is not that big, I used another diff program (beyond compare) to check that there are no actual code changes, just whitespace changes and added braces.
Impact
No functional impact, only nxstyle issues fixed.
Testing
Tested that the nxstyle now passes for the files.