Skip to contentSkip to conversation

amdgpu: amdgpu_device.c: Removed trailing whitespace

PATCH Applied Mitchell Augustin 2 participants 2 messages May 25, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 amdgpu: amdgpu_device.c: Removed trailing whitespace

Removed trailing whitespace from end of line in amdgpu_device.c

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -2
index 49f734137f15..c531c05163cf 100644
@@ -3365,7 +3365,7 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
  */
 bool amdgpu_device_has_dc_support(struct amdgpu_device *adev)
 {
-	if (amdgpu_sriov_vf(adev) || 
+	if (amdgpu_sriov_vf(adev) ||
 	    adev->enable_virtual_display ||
 	    (adev->harvest_ip_mask & AMD_HARVEST_IP_DMU_MASK))
 		return false;
@@ -5762,7 +5762,7 @@ int amdgpu_in_reset(struct amdgpu_device *adev)
 {
 	return atomic_read(&adev->reset_domain->in_gpu_reset);
 	}
-	
+
 /**
  * amdgpu_device_halt() - bring hardware to some kind of halt state
  *
Signature · 1 line
2.36.1
Applied
#1 lore raw

Applied. Thanks!

Alex

Quoted 33 lines · Mitchell Augustin

Removed trailing whitespace from end of line in amdgpu_device.c

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -3
index 49f734137f15..c531c05163cf 100644
@@ -3365,7 +3365,7 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
  */
 bool amdgpu_device_has_dc_support(struct amdgpu_device *adev)
 {
-       if (amdgpu_sriov_vf(adev) ||
+       if (amdgpu_sriov_vf(adev) ||
            adev->enable_virtual_display ||
            (adev->harvest_ip_mask & AMD_HARVEST_IP_DMU_MASK))
                return false;
@@ -5762,7 +5762,7 @@ int amdgpu_in_reset(struct amdgpu_device *adev)
 {
        return atomic_read(&adev->reset_domain->in_gpu_reset);
        }
-
+
 /**
  * amdgpu_device_halt() - bring hardware to some kind of halt state
  *
--

2.36.1