drm/i915: Make I915_PARAMS_FOR_EACH macro more flexible
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 25 Sep 2017 10:50:06 +0000 (10:50 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 26 Sep 2017 08:21:34 +0000 (11:21 +0300)
commit54fea2b974a076799e427e50644de7c6ca662be5
treee970ad8ec50777edf491b0c6e8e34c8f75aa514a
parentaec0246f3e3882065b5c29916a84b539afe4e4af
drm/i915: Make I915_PARAMS_FOR_EACH macro more flexible

We should not add trailing ; after each member to allow other
than statements-style uses of this helper macro.
While here s/func/param for clarity.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170925105008.46060-1-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/i915_params.h