aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-07-25 07:08:07 +0000
committerStefan Agner <stefan@agner.ch>2016-09-05 12:15:41 -0700
commitacd4d615bc5b4035a542ea3458fdee3b5d6f0f78 (patch)
treee39a99914615f9a949bc7a764e114a8e4581bc5c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent6cc4758ae91c0582f07e3c94c7de1ad0975feff5 (diff)
drm/fsl-dcu: use PTR_ERR_OR_ZERO() to simplify the code
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions