drm/amd/powerplay: fix code style
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 2 Nov 2016 06:53:04 +0000 (14:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Nov 2016 15:21:02 +0000 (10:21 -0500)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c

index 41b634ffa5b01d53ce52f5ff05c835ee0b7094a7..26477f0f09dcc7045db5626abb7a9da8b4a2b3cc 100644 (file)
@@ -603,9 +603,10 @@ int smu7_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n)
        return 0;
 }
 
-static int smu7_set_overdriver_target_tdp(struct pp_hwmgr *pHwMgr, uint32_t target_tdp)
+static int smu7_set_overdriver_target_tdp(struct pp_hwmgr *hwmgr,
+                                               uint32_t target_tdp)
 {
-       return smum_send_msg_to_smc_with_parameter(pHwMgr->smumgr,
+       return smum_send_msg_to_smc_with_parameter(hwmgr->smumgr,
                        PPSMC_MSG_OverDriveSetTargetTdp, target_tdp);
 }