diff options
| author | Ingo Molnar <[email protected]> | 2018-01-05 16:18:52 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-01-06 11:18:40 +0000 |
| commit | 9128d3ed9de3882c83b927eb553d5d44c84505f5 (patch) | |
| tree | 4deaa573ce0e7fdede491d60f7035ec889cb86d0 /tools/perf/scripts/python | |
| parent | perf/x86/msr: Add support for MSR_IA32_THERM_STATUS (diff) | |
| download | kernel-9128d3ed9de3882c83b927eb553d5d44c84505f5.tar.gz kernel-9128d3ed9de3882c83b927eb553d5d44c84505f5.zip | |
perf/x86/msr: Clean up the code
Recent changes made a bit of an inconsistent mess out of arch/x86/events/msr.c,
fix it:
- re-align the initialization tables to be vertically aligned and readable again
- harmonize comment style in terms of punctuation, capitalization and spelling
- use curly braces for multi-condition branches
- remove extra newlines
- simplify the code a bit
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
