diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2023-11-29 12:37:34 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-06 16:05:32 -0500 |
commit | 81577503efb49f4ad76af22f9941d72900ef4aab (patch) | |
tree | 1f6f1d93c038d9b299f2f228b2af87a225f93d4f /drivers/gpu/drm/amd/amdgpu/atombios_i2c.h | |
parent | 6fce23a4d8c5f93bf80b7f122449fbb97f1e40dd (diff) |
drm/amdgpu: Add NULL checks for function pointers
Check if function is implemented before making the call.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_i2c.h')
0 files changed, 0 insertions, 0 deletions