diff options
| author | Théo Lebrun <[email protected]> | 2024-02-28 12:28:11 +0100 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2024-02-29 10:28:21 +0100 |
| commit | cbb24db148849fd5a54063862c4f537776c92a60 (patch) | |
| tree | 4f7693252dcdf358f0a44a61eaa08a1d432d93e5 /net/unix/af_unix.c | |
| parent | 8e48230d6df5cbbe408a2248aba25fd87ed279a3 (diff) | |
pinctrl: nomadik: follow conditional kernel coding conventions
Fix strict checkpatch warnings relative to if-else blocks and bool
expressions. Message types addressed:
CHECK: Comparison to NULL could be written "!nmk_cfg_params[index].choice"
CHECK: Unbalanced braces around else statement
CHECK: Using comparison to false is error prone
CHECK: Using comparison to true is error prone
CHECK: braces {} should be used on all arms of this statement
Before: 0 errors, 1 warnings, 16 checks.
After: 0 errors, 1 warnings, 7 checks.
Signed-off-by: Théo Lebrun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions