From: Wambui Karuga Date: Thu, 7 Nov 2019 09:29:45 +0000 (+0300) Subject: drm/rockchip: use DRM_DEV_ERROR for log output X-Git-Tag: v5.10.7~2352^2~6^2~901 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4563f3cec404ebcead65987e8a97e0cbf1ff34d;p=platform%2Fkernel%2Flinux-rpi.git drm/rockchip: use DRM_DEV_ERROR for log output Replace the use of the dev_err macro with the DRM_DEV_ERROR DRM helper macro. rockchip driver uses almost exclusively DRM_* logging (aside from 2 dev_* instances, one of which is converted in this patch), so this makes things more consistent. Signed-off-by: Wambui Karuga [seanpaul expanded on the commit message] Signed-off-by: Sean Paul Link: https://patchwork.freedesktop.org/patch/msgid/20191107092945.15513-1-wambui.karugax@gmail.com --- diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c index bc073ec..5f23cf7 100644 --- a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c @@ -916,7 +916,7 @@ static int dw_mipi_dsi_rockchip_probe(struct platform_device *pdev) } if (!dsi->cdata) { - dev_err(dev, "no dsi-config for %s node\n", np->name); + DRM_DEV_ERROR(dev, "no dsi-config for %s node\n", np->name); return -EINVAL; }