diff options
author | Joe Perches <joe@perches.com> | 2017-02-28 07:55:52 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:53:24 -0400 |
commit | 7ca85295d8cc280ea79cf6250c47363b7fd92f92 (patch) | |
tree | efcd4b095533ddbb7e03dc305403fde3873d940c /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
parent | eeca2324900e922b693b2b6ddacc502c78f1c1ef (diff) |
gpu: drm: amd/radeon: Convert printk(KERN_<LEVEL> to pr_<level>
Use a more common logging style.
Miscellanea:
o Coalesce formats and realign arguments
o Neaten a few macros now using pr_<level>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c index bab109e46d22..a48142d930c6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |||
@@ -151,8 +151,7 @@ static int amdgpufb_create_pinned_object(struct amdgpu_fbdev *rfbdev, | |||
151 | AMDGPU_GEM_CREATE_VRAM_CLEARED, | 151 | AMDGPU_GEM_CREATE_VRAM_CLEARED, |
152 | true, &gobj); | 152 | true, &gobj); |
153 | if (ret) { | 153 | if (ret) { |
154 | printk(KERN_ERR "failed to allocate framebuffer (%d)\n", | 154 | pr_err("failed to allocate framebuffer (%d)\n", aligned_size); |
155 | aligned_size); | ||
156 | return -ENOMEM; | 155 | return -ENOMEM; |
157 | } | 156 | } |
158 | abo = gem_to_amdgpu_bo(gobj); | 157 | abo = gem_to_amdgpu_bo(gobj); |