diff options
| author | Colin Ian King <[email protected]> | 2021-07-20 09:29:22 +0100 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2021-08-13 17:21:57 +0200 |
| commit | 38334231965e9a75558e413d1f5a23357994f065 (patch) | |
| tree | e3ae4a7e4968ed05c4b8f1766c8ad77861cbfc80 /scripts/gdb/linux/tasks.py | |
| parent | c02aa89b7435c852aad9b2f39bdfd8ba8e22d3dc (diff) | |
power: supply: ab8500: clean up warnings found by checkpatch
Clean up a handful of checkpatch warnings:
- static const char * array should probably be static const char * const
- function arguments should have identifier names
- else should follow close brace '}'
- suspect code indent for conditional statements
- unnecessary parentheses in an if condition
- avoid multiple line dereference
- remove debug showing function execution, ftrace can trace these better
- prefer 'long' over 'long int' as the int is unnecessary
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions