• Ingo Molnar's avatar
    perf/x86/msr: Clean up the code · 9128d3ed
    Ingo Molnar authored
    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.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    9128d3ed
msr.c 6.92 KB