diff options
author | Imre Deak <imre.deak@intel.com> | 2015-01-08 16:54:13 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-01-12 02:48:19 +0100 |
commit | 888d0d421663313739a8bf93459c6ba61fd4b121 (patch) | |
tree | a2ca885a6dc6c82d1cbb4cab61b03431d118ab22 /include/drm/i915_component.h | |
parent | linux 3.19-rc4 (diff) | |
download | linux-888d0d421663313739a8bf93459c6ba61fd4b121.tar.xz linux-888d0d421663313739a8bf93459c6ba61fd4b121.zip |
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 <imre.deak@intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/i915_component.h')
0 files changed, 0 insertions, 0 deletions