drm/dp: use DRM_DEBUG_DP() instead of drm_dbg for logging
authorJani Nikula <jani.nikula@intel.com>
Mon, 21 Jan 2019 11:27:58 +0000 (13:27 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 22 Jan 2019 08:36:49 +0000 (10:36 +0200)
We have a wrapper for a reason.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190121112758.10978-1-jani.nikula@intel.com
drivers/gpu/drm/drm_dp_helper.c

index f51a116543f76c68fbc4199e269b02dce5f36454..fc2a98a82250a0217c46a7877e296b7208ab9ce5 100644 (file)
@@ -194,11 +194,11 @@ drm_dp_dump_access(const struct drm_dp_aux *aux,
        const char *arrow = request == DP_AUX_NATIVE_READ ? "->" : "<-";
 
        if (ret > 0)
-               drm_dbg(DRM_UT_DP, "%s: 0x%05x AUX %s (ret=%3d) %*ph\n",
-                       aux->name, offset, arrow, ret, min(ret, 20), buffer);
+               DRM_DEBUG_DP("%s: 0x%05x AUX %s (ret=%3d) %*ph\n",
+                            aux->name, offset, arrow, ret, min(ret, 20), buffer);
        else
-               drm_dbg(DRM_UT_DP, "%s: 0x%05x AUX %s (ret=%3d)\n",
-                       aux->name, offset, arrow, ret);
+               DRM_DEBUG_DP("%s: 0x%05x AUX %s (ret=%3d)\n",
+                            aux->name, offset, arrow, ret);
 }
 
 /**