From e0e5d40b9adad2f1a817078068966cf61016b5f6 Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Tue, 7 Aug 2012 21:58:23 -0700 Subject: [PATCH] drm/i915: Change important error message to DRM_ERROR Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index ff569cc..ce0c6f4 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -437,8 +437,7 @@ static int i915_drm_freeze(struct drm_device *dev) if (drm_core_check_feature(dev, DRIVER_MODESET)) { int error = i915_gem_idle(dev); if (error) { - dev_err(&dev->pdev->dev, - "GEM idle failed, resume might fail\n"); + DRM_ERROR("GEM idle failed, resume might fail\n"); return error; } drm_irq_uninstall(dev); -- 1.7.11.4