From: Damien Lespiau Date: Tue, 23 Apr 2013 15:37:17 +0000 (+0100) Subject: drm/i915: Turn DEV_INFO_FLAGS into a foreach style macro X-Git-Tag: v3.11-rc1~65^2~131^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79fc46dfd0c7cc68442554a428e03a3b7e0d44aa;p=pandora-kernel.git drm/i915: Turn DEV_INFO_FLAGS into a foreach style macro DEV_INFO_FOR_FLAG() now takes 2 parameters: • A function to apply to the flag • A separator This will allow us to use the macro twice in the DRM_DEBUG_DRIVER() call of i915_dump_device_info(). v2: Fix a typo in the subject (Jani Nikula) v3: Undef the helper macros (Jani Nikula, Daniel vetter) Reviewed-by: Jani Nikula Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed