drm/dp_dual_mode: Convert drm_dp_dual_mode_helper.c to using drm_err/drm_dbg_kms()
authorLyude Paul <lyude@redhat.com>
Fri, 23 Apr 2021 18:43:08 +0000 (14:43 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 27 Apr 2021 22:43:45 +0000 (18:43 -0400)
commita4d00750cd91840f67d3b7f471ca40dda60983cf
tree82996fa6b914cd04ef091e9bf80f997c563a61ab
parentb1e7f5fdbac8f03d6d93a2e4c2f69ab6e1b452af
drm/dp_dual_mode: Convert drm_dp_dual_mode_helper.c to using drm_err/drm_dbg_kms()

Next step in the conversion, move everything in drm_dp_dual_mode_helper.c
over to using drm_err() and drm_dbg_kms(). This was done using the
following cocci script:

  @@
  expression list expr;
  @@

  (
  - DRM_DEBUG_KMS(expr);
  + drm_dbg_kms(dev, expr);
  |
  - DRM_ERROR(expr);
  + drm_err(dev, expr);
  )

And correcting the indentation of the resulting code by hand.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423184309.207645-17-lyude@redhat.com
Reviewed-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_dp_dual_mode_helper.c