Skip to content

Commit

Permalink
drm/i915: convert to new logging macros in i915/intel_memory_region.c
Browse files Browse the repository at this point in the history
Replace the use of printk based logging macros with the new struct
drm_device based logging macro in i915/intel_memory_region.c.

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1bf4d362e72c619843d44aac96c3561f54e4b23a.1578560355.git.wambui.karugax@gmail.com
  • Loading branch information
Wambui Karuga authored and Jani Nikula committed Jan 17, 2020
1 parent fd6735f commit 89c0249
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/gpu/drm/i915/intel_memory_region.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ int intel_memory_regions_hw_probe(struct drm_i915_private *i915)

if (IS_ERR(mem)) {
err = PTR_ERR(mem);
DRM_ERROR("Failed to setup region(%d) type=%d\n", err, type);
drm_err(&i915->drm,
"Failed to setup region(%d) type=%d\n",
err, type);
goto out_cleanup;
}

Expand Down

0 comments on commit 89c0249

Please sign in to comment.