platform/x86: intel_pmc_core: Clean up: Remove comma after the termination line
authorGayatri Kammela <gayatri.kammela@intel.com>
Thu, 12 Dec 2019 18:38:43 +0000 (10:38 -0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Dec 2019 17:02:59 +0000 (19:02 +0200)
commitb1cb33dae41474117acdbc249048c27028cb1ee0
tree084ab800ba2e13161744aa41fd35b93c6313f9ba
parent02abbda105f25fb634207e7f23a8a4b51fe67ad4
platform/x86: intel_pmc_core: Clean up: Remove comma after the termination line

It is common practice to place a comma after the last entry in an
initialized array to avoid the need to add one in future patches that
extend the array. But when the last element is a termination marker, the
comma could be harmful. Any new entries must be added before the
terminator (and the comma would prevent the compiler from issuing a
warning about an entry after the terminator).

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: David E. Box <david.e.box@intel.com>
Cc: Rajneesh Bhardwaj <irenic.rajneesh@gmail.com>
Cc: Tony Luck <tony.luck@intel.com>
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c