drm/i915: Replace the line of %s by a DEV_INFO_FOR_EACH_FLAG() invocation
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 23 Apr 2013 15:38:34 +0000 (16:38 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Apr 2013 15:44:45 +0000 (17:44 +0200)
commite2a5800a14abcf861b9d6565de2a22bd6e9ae0ef
tree2e71fad64b58f7be667ce1b85c0fb53647a2106c
parent79fc46dfd0c7cc68442554a428e03a3b7e0d44aa
drm/i915: Replace the line of %s by a DEV_INFO_FOR_EACH_FLAG() invocation

This way, when adding a device flag we don't have to manually maintain
that list.

v2: undefine the helper macros (Jani Nikula, Daniel Vetter)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c