Commit 26272ed7 authored by Ran Sun's avatar Ran Sun Committed by Alex Deucher

drm/amd/pm: Clean up errors in smu_v11_0.h

Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line
ERROR: code indent should use tabs where possible
Signed-off-by: default avatarRan Sun <sunran001@208suo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3b780089
...@@ -67,8 +67,7 @@ static const __maybe_unused uint16_t link_width[] = {0, 1, 2, 4, 8, 12, 16}; ...@@ -67,8 +67,7 @@ static const __maybe_unused uint16_t link_width[] = {0, 1, 2, 4, 8, 12, 16};
static const __maybe_unused uint16_t link_speed[] = {25, 50, 80, 160}; static const __maybe_unused uint16_t link_speed[] = {25, 50, 80, 160};
static const static const
struct smu_temperature_range __maybe_unused smu11_thermal_policy[] = struct smu_temperature_range __maybe_unused smu11_thermal_policy[] = {
{
{-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000}, {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
{ 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000}, { 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000},
}; };
...@@ -96,8 +95,8 @@ struct smu_11_0_dpm_table { ...@@ -96,8 +95,8 @@ struct smu_11_0_dpm_table {
}; };
struct smu_11_0_pcie_table { struct smu_11_0_pcie_table {
uint8_t pcie_gen[MAX_PCIE_CONF]; uint8_t pcie_gen[MAX_PCIE_CONF];
uint8_t pcie_lane[MAX_PCIE_CONF]; uint8_t pcie_lane[MAX_PCIE_CONF];
}; };
struct smu_11_0_dpm_tables { struct smu_11_0_dpm_tables {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment