summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-01-20 09:26:24 +0000
committerAlex Deucher <alexander.deucher@amd.com>2021-01-21 09:54:41 -0500
commita49054353e0e5ca77b5ab666ca2f6e54a0591fb2 (patch)
treea91d40d7336e4b0fd257139f8ee012cfca2088a5 /drivers
parentea7154d8d9fb26129f51e4d763febe97a13228a5 (diff)
downloadlinux-a49054353e0e5ca77b5ab666ca2f6e54a0591fb2.tar.gz
linux-a49054353e0e5ca77b5ab666ca2f6e54a0591fb2.tar.bz2
linux-a49054353e0e5ca77b5ab666ca2f6e54a0591fb2.zip
drm/amd/display: Fix spelling mistake of function name
There are two spelling mistakes of the function name, fix this by using __func__ instead of a hard coded name string. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index c16af3983fdb..91d4130cd2cb 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -1602,7 +1602,7 @@ static bool dc_link_construct(struct dc_link *link,
link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED;
- DC_LOG_DC("BIOS object table - dc_link_contruct finished successfully.\n");
+ DC_LOG_DC("BIOS object table - %s finished successfully.\n", __func__);
return true;
device_tag_fail:
link->link_enc->funcs->destroy(&link->link_enc);
@@ -1619,7 +1619,7 @@ create_fail:
link->hpd_gpio = NULL;
}
- DC_LOG_DC("BIOS object table - dc_link_contruct failed.\n");
+ DC_LOG_DC("BIOS object table - %s failed.\n", __func__);
kfree(info);
return false;