drm: msm: Use DRM_DEV_* instead of dev_*
Use DRM_DEV_INFO/ERROR/WARN instead of dev_info/err/debug to generate drm-formatted specific log messages so that it will be easy to differentiate in case of multiple instances of driver. Signed-off-by: Mamta Shukla <mamtashukla555@gmail.com> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
@@ -194,13 +194,13 @@ static int late_init_minor(struct drm_minor *minor)
|
||||
|
||||
ret = msm_rd_debugfs_init(minor);
|
||||
if (ret) {
|
||||
dev_err(minor->dev->dev, "could not install rd debugfs\n");
|
||||
DRM_DEV_ERROR(minor->dev->dev, "could not install rd debugfs\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = msm_perf_debugfs_init(minor);
|
||||
if (ret) {
|
||||
dev_err(minor->dev->dev, "could not install perf debugfs\n");
|
||||
DRM_DEV_ERROR(minor->dev->dev, "could not install perf debugfs\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -228,7 +228,7 @@ int msm_debugfs_init(struct drm_minor *minor)
|
||||
minor->debugfs_root, minor);
|
||||
|
||||
if (ret) {
|
||||
dev_err(dev->dev, "could not install msm_debugfs_list\n");
|
||||
DRM_DEV_ERROR(dev->dev, "could not install msm_debugfs_list\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user