drm/amd/powerplay: fix spelling mistake: "contruct" -> "construct"
authorColin Ian King <colin.king@canonical.com>
Sat, 28 Apr 2018 22:21:55 +0000 (23:21 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:21 +0000 (13:44 -0500)
Trivial fix to spelling mistake in PP_ASSERT_WITH_CODE message text

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c

index 39e49ce6bb5f42200e50df3d7f0f688aa8bd6847..8eb3f517664607801cb75bc36d38efb844fc23ef 100644 (file)
@@ -1270,7 +1270,7 @@ static int smu7_enable_dpm_tasks(struct pp_hwmgr *hwmgr)
 
                tmp_result = smu7_construct_voltage_tables(hwmgr);
                PP_ASSERT_WITH_CODE((0 == tmp_result),
-                               "Failed to contruct voltage tables!",
+                               "Failed to construct voltage tables!",
                                result = tmp_result);
        }
        smum_initialize_mc_reg_table(hwmgr);
index 748612074d208cdde26fdf162611e27b5ba187d5..d156b7bb92ae74a3b9b899f2e3a7907c5b0410f0 100644 (file)
@@ -2860,7 +2860,7 @@ static int vega10_enable_dpm_tasks(struct pp_hwmgr *hwmgr)
 
        tmp_result = vega10_construct_voltage_tables(hwmgr);
        PP_ASSERT_WITH_CODE(!tmp_result,
-                       "Failed to contruct voltage tables!",
+                       "Failed to construct voltage tables!",
                        result = tmp_result);
 
        tmp_result = vega10_init_smc_table(hwmgr);