aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorNirmoy Das <[email protected]>2021-09-02 13:27:56 +0200
committerAlex Deucher <[email protected]>2021-09-14 15:35:44 -0400
commit59715cffce19cfd4f7cffcf6d7ecc18478af8c4a (patch)
tree5ab8790bf476b7f7cdddf1e54f754590f198541d /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentbbb36348004595799a5c6df0d9e4e6f65772c2ab (diff)
drm/amdgpu: use IS_ERR for debugfs APIs
debugfs APIs returns encoded error so use IS_ERR for checking return value. v2: return PTR_ERR(ent) References: https://gitlab.freedesktop.org/drm/amd/-/issues/1686 Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-By: Shashank Sharma <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions