diff options
author | Haneen Mohammed <hamohammed.sa@gmail.com> | 2017-09-15 10:36:03 +0200 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2017-09-18 03:50:44 +0200 |
commit | d8dd68045c5879c40342050a476710e31c7cdfa7 (patch) | |
tree | 26aba446e981157cb40f513f5528aa8d2c184a90 /drivers/gpu/drm/rockchip/cdn-dp-reg.c | |
parent | drm/tinydrm: Drop driver registered message (diff) | |
download | linux-d8dd68045c5879c40342050a476710e31c7cdfa7.tar.xz linux-d8dd68045c5879c40342050a476710e31c7cdfa7.zip |
drm/rockchip: Replace dev_* with DRM_DEV_*
This patch replace instances of dev_info/err/debug with
DRM_DEV_INFO/ERROR/WARN respectively inorder to use a drm-formatted
specific log messages. Issue corrected with the help of the following
Coccinelle script:
@r@
@@
(
-dev_info
+DRM_DEV_INFO
|
-dev_err
+DRM_DEV_ERROR
|
-dev_dbg
+DRM_DEV_DEBUG
)
Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170915083603.GA18992@Haneen
Diffstat (limited to 'drivers/gpu/drm/rockchip/cdn-dp-reg.c')
-rw-r--r-- | drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/cdn-dp-reg.c b/drivers/gpu/drm/rockchip/cdn-dp-reg.c index b14d211f6c21..eb3042c6d1b2 100644 --- a/drivers/gpu/drm/rockchip/cdn-dp-reg.c +++ b/drivers/gpu/drm/rockchip/cdn-dp-reg.c @@ -323,7 +323,7 @@ int cdn_dp_load_firmware(struct cdn_dp_device *dp, const u32 *i_mem, reg = readl(dp->regs + VER_LIB_H_ADDR) & 0xff; dp->fw_version |= reg << 24; - dev_dbg(dp->dev, "firmware version: %x\n", dp->fw_version); + DRM_DEV_DEBUG(dp->dev, "firmware version: %x\n", dp->fw_version); return 0; } |