[Intel-gfx] [PATCH 05/12] drm/i915: Remove INTEL_INFO()

Damien Lespiau damien.lespiau at intel.com
Mon Jan 6 20:17:22 CET 2014


Finally, we reach the goal of the last few patches: the removal of
INTEL_INFO() in favor of a direct dev_priv usage.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index e9c3339..54ee3a8 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1772,8 +1772,6 @@ struct drm_i915_file_private {
 	atomic_t rps_wait_boost;
 };
 
-#define INTEL_INFO(dev)	(to_i915(dev)->info)
-
 #define IS_I830(dev)		((dev)->pdev->device == 0x3577)
 #define IS_845G(dev)		((dev)->pdev->device == 0x2562)
 #define IS_I85X(dev)		(to_i915(dev)->info->is_i85x)
-- 
1.8.3.1




More information about the Intel-gfx mailing list