[PATCH] drm/amd/display: Fix typo and incorrect function name in dmub_srv.h comments

Akiyoshi Kurita posted 1 patch 10 hours ago
drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] drm/amd/display: Fix typo and incorrect function name in dmub_srv.h comments
Posted by Akiyoshi Kurita 10 hours ago
Fixes two instances of the typo "retreives" -> "retrieves"
in documentation comments (for dmub_srv_calc_region_info()
and dmub_srv_calc_mem_info()).

Additionally, fixes a copy-paste error where the comment for
dmub_srv_calc_mem_info() incorrectly listed the function name
as dmub_srv_calc_region_info().

Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
---
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
index 338fdc651f2c..a6f794ef2203 100644
--- a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
+++ b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
@@ -637,7 +637,7 @@ enum dmub_status dmub_srv_create(struct dmub_srv *dmub,
 void dmub_srv_destroy(struct dmub_srv *dmub);
 
 /**
- * dmub_srv_calc_region_info() - retreives region info from the dmub service
+ * dmub_srv_calc_region_info() - retrieves region info from the dmub service
  * @dmub: the dmub service
  * @params: parameters used to calculate region locations
  * @info_out: the output region info from dmub
@@ -655,7 +655,7 @@ dmub_srv_calc_region_info(struct dmub_srv *dmub,
 			  struct dmub_srv_region_info *out);
 
 /**
- * dmub_srv_calc_region_info() - retreives fb info from the dmub service
+ * dmub_srv_calc_mem_info() - retrieves fb info from the dmub service
  * @dmub: the dmub service
  * @params: parameters used to calculate fb locations
  * @info_out: the output fb info from dmub
-- 
2.47.3