Skip to content

Commit

Permalink
drm/amd/display: Fix spelling mistake of function name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and Alex Deucher committed Jan 21, 2021
1 parent ea7154d commit a490543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/amd/display/dc/core/dc_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -1619,7 +1619,7 @@ static bool dc_link_construct(struct dc_link *link,
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;
Expand Down

0 comments on commit a490543

Please sign in to comment.