OSDN Git Service

drm/amd/display: Fix indentation in dm_suspend()
authorTom St Denis <tom.stdenis@amd.com>
Tue, 17 Oct 2017 12:48:44 +0000 (08:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:53:10 +0000 (16:53 -0400)
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: Andrey Grodzovsky <andey.grodzovsky@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index d8fcf24..893213b 100644 (file)
@@ -598,10 +598,7 @@ static int dm_suspend(void *handle)
        WARN_ON(adev->dm.cached_state);
        adev->dm.cached_state = drm_atomic_helper_suspend(adev->ddev);
 
-       dc_set_power_state(
-               dm->dc,
-               DC_ACPI_CM_POWER_STATE_D3
-               );
+       dc_set_power_state(dm->dc, DC_ACPI_CM_POWER_STATE_D3);
 
        return ret;
 }