perf/x86/msr: Clean up the code
authorIngo Molnar <mingo@kernel.org>
Fri, 5 Jan 2018 16:18:52 +0000 (08:18 -0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 6 Jan 2018 11:18:40 +0000 (12:18 +0100)
commit9128d3ed9de3882c83b927eb553d5d44c84505f5
tree4deaa573ce0e7fdede491d60f7035ec889cb86d0
parent9ae21dd66b970b5e3192a636353d75ede0529338
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 <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: kan.liang@intel.com
Link: http://lkml.kernel.org/r/1515169132-3980-1-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/msr.c