drm/amd/display: Fix spelling mistake of function name
authorColin Ian King <colin.king@canonical.com>
Wed, 20 Jan 2021 09:26:24 +0000 (09:26 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Jan 2021 14:54:41 +0000 (09:54 -0500)
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>
drivers/gpu/drm/amd/display/dc/core/dc_link.c

index c16af3983fdbaaa52cfc3ed3ed8941fc70bef978..91d4130cd2cbf2a85ec516179b9c5123de6ecd3b 100644 (file)
@@ -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;