From: Imre Deak Date: Thu, 8 Jan 2015 15:54:13 +0000 (+0200) Subject: drm/i915: add dev_to_i915 helper X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~54^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=888d0d421663313739a8bf93459c6ba61fd4b121;p=pandora-kernel.git drm/i915: add dev_to_i915 helper This will be needed by later patches, so factor it out. No functional change. v2: - s/dev_to_i915_priv/dev_to_i915/ (Jani) - don't use the helper in i915_pm_suspend (Chris) - simplify the helper (Chris) v3: - remove redundant upcasting in the helper (Daniel) Signed-off-by: Imre Deak Reviewed-by: Takashi Iwai Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed