drm/i915: Remove use of dev_priv->dev backpointer in __i915_printk()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jul 2016 09:40:21 +0000 (10:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jul 2016 10:53:47 +0000 (11:53 +0100)
commitfb93942033dfe7b4b87bba516f9b551da0bac970
tree833df5415d7d5a0fcc68a3854732beaa8fc545de
parent94b4f3ba483ace6dd4a3f881e19cc18bdbafa6ef
drm/i915: Remove use of dev_priv->dev backpointer in __i915_printk()

As we can just directly use drm_dev->drm.dev, we do not need the
drm_dev->dev backpointer anymore and can also loose the warning about
order of __i915_printk() and our initialisation (which is now always
safe).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467711623-2905-2-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_drv.c