drm/i915/uncore: prefer struct drm_device based logging
authorJani Nikula <jani.nikula@intel.com>
Thu, 2 Apr 2020 11:48:16 +0000 (14:48 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 8 Apr 2020 10:49:35 +0000 (13:49 +0300)
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-14-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_uncore.c

index 013312e9b55c14dd8bba8b62ad6642cc376330f4..fa86b7ab2d9960e3ebc0131fe09c004ae27e65cc 100644 (file)
@@ -665,7 +665,7 @@ void intel_uncore_forcewake_user_put(struct intel_uncore *uncore)
                mmio_debug_resume(uncore->debug);
 
                if (check_for_unclaimed_mmio(uncore))
-                       dev_info(uncore->i915->drm.dev,
+                       drm_info(&uncore->i915->drm,
                                 "Invalid mmio detected during user access\n");
                spin_unlock(&uncore->debug->lock);