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>
This commit is contained in:
Colin Ian King 2021-01-20 09:26:24 +00:00 committed by Alex Deucher
parent ea7154d8d9
commit a49054353e

View 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;