diff options
author | Lyude Paul <[email protected]> | 2021-04-23 14:43:07 -0400 |
---|---|---|
committer | Lyude Paul <[email protected]> | 2021-04-27 18:43:45 -0400 |
commit | b1e7f5fdbac8f03d6d93a2e4c2f69ab6e1b452af (patch) | |
tree | 1852c4f6bb32ab468a34ee6afaa8a3480662fcd0 /drivers/gpu/drm/drm_dp_mst_topology.c | |
parent | 7911902129a8c4dbc45c3ffb57126d11e042aef4 (diff) |
drm/dp: Convert drm_dp_helper.c to using drm_err/drm_dbg_*()
Now that we've added a back-pointer to drm_device to drm_dp_aux, made
drm_dp_aux available to any functions in drm_dp_helper.c which need to
print to the kernel log, and ensured all of our logging uses a consistent
format, let's do the final step of the conversion and actually move
everything over to using drm_err() and drm_dbg_*().
This was done by using the following cocci script:
@@
expression list expr;
@@
(
- DRM_DEBUG_KMS(expr);
+ drm_dbg_kms(aux->drm_dev, expr);
|
- DRM_DEBUG_DP(expr);
+ drm_dbg_dp(aux->drm_dev, expr);
|
- DRM_DEBUG_ATOMIC(expr);
+ drm_dbg_atomic(aux->drm_dev, expr);
|
- DRM_DEBUG_KMS_RATELIMITED(expr);
+ drm_dbg_kms_ratelimited(aux->drm_dev, expr);
|
- DRM_ERROR(expr);
+ drm_err(aux->drm_dev, expr);
)
Followed by correcting the resulting line-wrapping in the results by hand.
v2:
* Fix indenting in drm_dp_dump_access
Signed-off-by: Lyude Paul <[email protected]>
Cc: Robert Foss <[email protected]>
Reviewed-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions