diff options
author | Nirmoy Das <[email protected]> | 2021-09-02 13:27:56 +0200 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-09-14 15:35:44 -0400 |
commit | 59715cffce19cfd4f7cffcf6d7ecc18478af8c4a (patch) | |
tree | 5ab8790bf476b7f7cdddf1e54f754590f198541d /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | bbb36348004595799a5c6df0d9e4e6f65772c2ab (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