OSDN Git Service

drm/i915: Add missing commas to dbuf tables
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 25 Feb 2020 17:11:08 +0000 (19:11 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 2 Mar 2020 14:41:58 +0000 (16:41 +0200)
commit06812bd9ac7c5aa3d53f1dbe0d24fd33c26a8d5f
treec9f25c379eb9b70099c09a1474bd2613d7380b8d
parent5ef2c353d9ef54f2f0d97cd52c6cc56c47459e29
drm/i915: Add missing commas to dbuf tables

The preferred style is to sprinkle commas after each array and
structure initialization, whether or not it happens to be the
last element/member (only exception being sentinel entries which
never have anything after them). This leads to much prettier
diffs if/when new elements/members get added to the end of the
initialization. We're not bound by some ancient silly mandate
to omit the final comma.

Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200225171125.28885-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_pm.c