forked from Minki/linux
drm/amd/display: fix typo "to found" -> "to find"
[Why] Typo in amdgpu_dm error message: "Failed to found connector for link!" [How] 1. Replace with: "Failed to find connector for link!" 2. Fix indentation checkpatch warnings. Signed-off-by: Roman Li <roman.li@amd.com> Reviewed-by: Zhan Liu <Zhan.Liu@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
9b31b4e8b0
commit
3c1fcc5542
@ -400,8 +400,8 @@ bool dm_helpers_dp_mst_start_top_mgr(
|
||||
struct amdgpu_dm_connector *aconnector = link->priv;
|
||||
|
||||
if (!aconnector) {
|
||||
DRM_ERROR("Failed to found connector for link!");
|
||||
return false;
|
||||
DRM_ERROR("Failed to find connector for link!");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (boot) {
|
||||
@ -423,8 +423,8 @@ void dm_helpers_dp_mst_stop_top_mgr(
|
||||
struct amdgpu_dm_connector *aconnector = link->priv;
|
||||
|
||||
if (!aconnector) {
|
||||
DRM_ERROR("Failed to found connector for link!");
|
||||
return;
|
||||
DRM_ERROR("Failed to find connector for link!");
|
||||
return;
|
||||
}
|
||||
|
||||
DRM_INFO("DM_MST: stopping TM on aconnector: %p [id: %d]\n",
|
||||
@ -445,7 +445,7 @@ bool dm_helpers_dp_read_dpcd(
|
||||
struct amdgpu_dm_connector *aconnector = link->priv;
|
||||
|
||||
if (!aconnector) {
|
||||
DRM_ERROR("Failed to found connector for link!");
|
||||
DRM_ERROR("Failed to find connector for link!");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -463,7 +463,7 @@ bool dm_helpers_dp_write_dpcd(
|
||||
struct amdgpu_dm_connector *aconnector = link->priv;
|
||||
|
||||
if (!aconnector) {
|
||||
DRM_ERROR("Failed to found connector for link!");
|
||||
DRM_ERROR("Failed to find connector for link!");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -483,7 +483,7 @@ bool dm_helpers_submit_i2c(
|
||||
bool result;
|
||||
|
||||
if (!aconnector) {
|
||||
DRM_ERROR("Failed to found connector for link!");
|
||||
DRM_ERROR("Failed to find connector for link!");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -538,7 +538,7 @@ bool dm_helpers_is_dp_sink_present(struct dc_link *link)
|
||||
struct amdgpu_dm_connector *aconnector = link->priv;
|
||||
|
||||
if (!aconnector) {
|
||||
BUG_ON("Failed to found connector for link!");
|
||||
BUG_ON("Failed to find connector for link!");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user