summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMamta Shukla <mamtashukla555@gmail.com>2018-10-19 02:18:15 +0530
committerDaniel Vetter <daniel.vetter@ffwll.ch>2018-10-23 15:59:24 +0200
commitc97ea6a61b5eb1200f4d5ccbf6601bb9f5bc7d3f (patch)
tree01bf85da1f66cdef70d4cdb44ca3256152ece38d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent068f304781804e208f901d8f6083189e0e28c420 (diff)
drm: msm: adreno: Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) +PTR_ERR
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR because its better to have inlined function rather than code-opened implementation. Signed-off-by: Mamta Shukla <mamtashukla555@gmail.com> Reviewed-by: Sean Paul <sean@poorly.run> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20181018204815.GA23390@armorer
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions