mirror of https://gitee.com/openkylin/linux.git
drm/hisilicon: Use drm_err instead of DRM_ERROR in hibmc_ttm
Use drm_err instead of DRM_ERROR in hibmc_ttm. Signed-off-by: Tian Tao <tiantao6@hisilicon.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/1597829014-39942-2-git-send-email-tiantao6@hisilicon.com
This commit is contained in:
parent
ebb21aa188
commit
274d77648e
|
@ -32,7 +32,7 @@ int hibmc_mm_init(struct hibmc_drm_private *hibmc)
|
||||||
hibmc->fb_size);
|
hibmc->fb_size);
|
||||||
if (IS_ERR(vmm)) {
|
if (IS_ERR(vmm)) {
|
||||||
ret = PTR_ERR(vmm);
|
ret = PTR_ERR(vmm);
|
||||||
DRM_ERROR("Error initializing VRAM MM; %d\n", ret);
|
drm_err(dev, "Error initializing VRAM MM; %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue