summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_dram.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2020-04-02 14:48:15 +0300
committerJani Nikula <jani.nikula@intel.com>2020-04-08 13:49:35 +0300
commit225ffaa8209b517b5ffe51b130cb490a8ae18fa1 (patch)
treef8448e1ca2c1f9d0115ecdba03e59e5ee95bb2bc /drivers/gpu/drm/i915/intel_dram.c
parent1900aba56787d85616bcbe0ebd4c6efd38a226c1 (diff)
downloadlinux-225ffaa8209b517b5ffe51b130cb490a8ae18fa1.tar.xz
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dram.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dram.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dram.c b/drivers/gpu/drm/i915/intel_dram.c
index 6b922efb1d7c..8aa12cad93ce 100644
--- a/drivers/gpu/drm/i915/intel_dram.c
+++ b/drivers/gpu/drm/i915/intel_dram.c
@@ -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);
}