drm/amd/amdgpu : Fix NULL pointer comparison
authorRavikant B Sharma <ravikant.s2@samsung.com>
Tue, 8 Nov 2016 05:49:42 +0000 (11:19 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Nov 2016 15:21:07 +0000 (10:21 -0500)
commit3f12325ab8dc3a35f77eaf0155bd6d6e78f67e9c
tree02375dd3c54bbd6532fea6a7b86abaf3f32c92c1
parentbc24fbe9df6623500ad1fab92e71265d4cb7fa2a
drm/amd/amdgpu : Fix NULL pointer comparison

Replace direct comparisons to NULL i.e.
'x == NULL' with '!x'. As per coding standard.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Ravikant B Sharma <ravikant.s2@samsung.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c