drm/i915/dram: prefer struct drm_device based logging

Prefer struct drm_device based logging over struct device based logging.

No functional changes.

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/20200402114819.17232-13-jani.nikula@intel.com
This commit is contained in:
Jani Nikula 2020-04-02 14:48:15 +03:00
parent 1900aba567
commit 225ffaa820

View File

@ -495,6 +495,5 @@ void intel_dram_edram_detect(struct drm_i915_private *i915)
else
i915->edram_size_mb = gen9_edram_size_mb(i915, edram_cap);
dev_info(i915->drm.dev,
"Found %uMB of eDRAM\n", i915->edram_size_mb);
drm_info(&i915->drm, "Found %uMB of eDRAM\n", i915->edram_size_mb);
}