summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/powerplay
diff options
context:
space:
mode:
authorRan Sun <sunran001@208suo.com>2023-08-02 01:39:39 +0000
committerAlex Deucher <alexander.deucher@amd.com>2023-08-09 09:42:33 -0400
commit6f3d7a6a24516f06e7f025431be1e6dcd0875d5d (patch)
tree6ebca5dedd8222b6f006da511eda3bdbbf45041c /drivers/gpu/drm/amd/pm/powerplay
parent4d2d4f151baa7a91796c91e77d93f6904297cb2f (diff)
downloadlwn-6f3d7a6a24516f06e7f025431be1e6dcd0875d5d.tar.gz
lwn-6f3d7a6a24516f06e7f025431be1e6dcd0875d5d.zip
drm/amd/pm: Clean up errors in hardwaremanager.h
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/powerplay')
-rw-r--r--drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h b/drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h
index 01a7d66864f2..f4f9a104d170 100644
--- a/drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h
+++ b/drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h
@@ -44,8 +44,7 @@ struct phm_fan_speed_info {
};
/* Automatic Power State Throttling */
-enum PHM_AutoThrottleSource
-{
+enum PHM_AutoThrottleSource {
PHM_AutoThrottleSource_Thermal,
PHM_AutoThrottleSource_External
};