]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/hdmi: prefer to_i915() over drm->dev_private to get at i915
authorJani Nikula <jani.nikula@intel.com>
Tue, 11 Feb 2020 13:44:27 +0000 (15:44 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 13 Feb 2020 18:35:06 +0000 (20:35 +0200)
commit813ba989df5906453d707aec8d9b6c53777c3f78
tree5c571ef24ff6349a3ba58b6cac4fd980fb0c7452
parent311cdab1098da1755f69a69d814aec830018b57c
drm/i915/hdmi: prefer to_i915() over drm->dev_private to get at i915

drm->dev_private is to be avoided. Use to_i915() on the struct
drm_device pointer instead. Rename the affected local dev_priv variables
to i915 while at it.

Cc: Wambui Karuga <wambui.karugax@gmail.com>
Reviewed-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200211134427.31605-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_hdmi.c