diff options
author | Imre Deak <imre.deak@intel.com> | 2015-01-08 17:54:13 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-01-12 02:48:19 +0100 |
commit | 888d0d421663313739a8bf93459c6ba61fd4b121 (patch) | |
tree | a2ca885a6dc6c82d1cbb4cab61b03431d118ab22 /include/drm | |
parent | eaa27f34e91a14cdceed26ed6c6793ec1d186115 (diff) |
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')
0 files changed, 0 insertions, 0 deletions