public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "PierreGondois" <pierre.gondois@arm.com>
To: devel@edk2.groups.io
Cc: Pierre Gondois <pierre.gondois@arm.com>, Ray Ni <ray.ni@intel.com>
Subject: [PATCH v2 10/17] PcAtChipsetPkg: Remove duplicated words
Date: Tue,  6 Sep 2022 10:29:05 +0200	[thread overview]
Message-ID: <20220906082912.81795-11-Pierre.Gondois@arm.com> (raw)
In-Reply-To: <20220906082912.81795-1-Pierre.Gondois@arm.com>

From: Pierre Gondois <pierre.gondois@arm.com>

In an effort to clean the documentation of the above
package, remove duplicated words.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
---
 .../Bus/Pci/IdeControllerDxe/ComponentName.c           |  4 ++--
 .../Bus/Pci/IdeControllerDxe/IdeController.h           |  4 ++--
 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c     | 10 +++++-----
 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h     |  2 +-
 .../PcatRealTimeClockRuntimeDxe/PcRtcEntry.c           |  2 +-
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c
index e5231a59146d..b2d98d641f35 100644
--- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c
+++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c
@@ -60,7 +60,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  mIdeControllerController
 
   @param This           A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
   @param Language       A pointer to a three character ISO 639-2 language identifier.
-                        This is the language of the driver name that that the caller
+                        This is the language of the driver name that the caller
                         is requesting, and it must match one of the languages specified
                         in SupportedLanguages.  The number of languages supported by a
                         driver is up to the driver writer.
@@ -109,7 +109,7 @@ IdeControllerComponentNameGetDriverName (
                                 that wishes to retrieve the name of a child controller.
   @param Language               A pointer to a three character ISO 639-2 language
                                 identifier.  This is the language of the controller name
-                                that that the caller is requesting, and it must match one
+                                that the caller is requesting, and it must match one
                                 of the languages specified in SupportedLanguages.  The
                                 number of languages supported by a driver is up to the
                                 driver writer.
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
index 978a8f709c7b..48b45e0e67c9 100644
--- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
+++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
@@ -396,7 +396,7 @@ IdeInitSetTiming (
 
   @param This           A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
   @param Language       A pointer to a three character ISO 639-2 language identifier.
-                        This is the language of the driver name that that the caller
+                        This is the language of the driver name that the caller
                         is requesting, and it must match one of the languages specified
                         in SupportedLanguages.  The number of languages supported by a
                         driver is up to the driver writer.
@@ -437,7 +437,7 @@ IdeControllerComponentNameGetDriverName (
                                 that wishes to retrieve the name of a child controller.
   @param Language               A pointer to a three character ISO 639-2 language
                                 identifier.  This is the language of the controller name
-                                that that the caller is requesting, and it must match one
+                                that the caller is requesting, and it must match one
                                 of the languages specified in SupportedLanguages.  The
                                 number of languages supported by a driver is up to the
                                 driver writer.
diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
index 9242a2e82600..e248ff0b1432 100644
--- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
+++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
@@ -48,8 +48,8 @@ CompareHMS (
   @param  From   the first date
   @param  To     the second date
 
-  @retval TRUE   From is previous to To within 24 hours.
-  @retval FALSE  From is later, or it is previous to To more than 24 hours.
+  @retval TRUE   From is previous to within 24 hours.
+  @retval FALSE  From is later, or it is previous to more than 24 hours.
 **/
 BOOLEAN
 IsWithinOneDay (
@@ -546,7 +546,7 @@ PcRtcGetTime (
 
   @retval EFI_SUCCESS           The operation completed successfully.
   @retval EFI_INVALID_PARAMETER A time field is out of range.
-  @retval EFI_DEVICE_ERROR      The time could not be set due due to hardware error.
+  @retval EFI_DEVICE_ERROR      The time could not be set due to hardware error.
 
 **/
 EFI_STATUS
@@ -1277,8 +1277,8 @@ CompareHMS (
   @param  From   the first date
   @param  To     the second date
 
-  @retval TRUE   From is previous to To within 24 hours.
-  @retval FALSE  From is later, or it is previous to To more than 24 hours.
+  @retval TRUE   From is previous to within 24 hours.
+  @retval FALSE  From is later, or it is previous to more than 24 hours.
 **/
 BOOLEAN
 IsWithinOneDay (
diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h
index 7e0e98fbcc18..672dc5dadf4e 100644
--- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h
+++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h
@@ -153,7 +153,7 @@ PcRtcInit (
 
   @retval EFI_SUCCESS           The operation completed successfully.
   @retval EFI_INVALID_PARAMETER A time field is out of range.
-  @retval EFI_DEVICE_ERROR      The time could not be set due due to hardware error.
+  @retval EFI_DEVICE_ERROR      The time could not be set due to hardware error.
 
 **/
 EFI_STATUS
diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
index e6e9458d7544..9e1201c81449 100644
--- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
+++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
@@ -49,7 +49,7 @@ PcRtcEfiGetTime (
 
   @retval EFI_SUCCESS            The operation completed successfully.
   @retval EFI_INVALID_PARAMETER  A time field is out of range.
-  @retval EFI_DEVICE_ERROR       The time could not be set due due to hardware error.
+  @retval EFI_DEVICE_ERROR       The time could not be set due to hardware error.
 
 **/
 EFI_STATUS
-- 
2.25.1


  parent reply	other threads:[~2022-09-06  8:29 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06  8:28 [PATCH v2 00/17] Remove duplicated words PierreGondois
2022-09-06  8:28 ` [PATCH v2 01/17] .pytool: " PierreGondois
2022-09-06  8:28 ` [PATCH v2 02/17] BaseTools: " PierreGondois
2022-10-01 15:08   ` [edk2-devel] " Bob Feng
2022-10-03  7:59     ` PierreGondois
2022-10-08  2:22       ` 回复: " gaoliming
     [not found]   ` <1719FA81E323AB08.30932@groups.io>
2022-10-02  3:25     ` Bob Feng
2022-09-06  8:28 ` [PATCH v2 03/17] CryptoPkg: " PierreGondois
2022-09-06  8:28 ` [PATCH v2 04/17] DynamicTablesPkg: " PierreGondois
2022-12-13 14:37   ` Sami Mujawar
2022-09-06  8:29 ` [PATCH v2 05/17] EmulatorPkg: " PierreGondois
2022-09-06  8:29 ` [PATCH v2 06/17] FatPkg: " PierreGondois
2022-09-06  8:29 ` [PATCH v2 07/17] MdeModulePkg: " PierreGondois
2022-09-06  8:29 ` [PATCH v2 08/17] MdePkg: " PierreGondois
2022-09-06 18:50   ` Michael D Kinney
2022-09-06  8:29 ` [PATCH v2 09/17] NetworkPkg: " PierreGondois
2022-09-06  8:29 ` PierreGondois [this message]
2022-09-06  8:29 ` [PATCH v2 11/17] RedfishPkg: " PierreGondois
2022-09-06  8:29 ` [PATCH v2 12/17] SecurityPkg: " PierreGondois
2022-09-06  8:37   ` Yao, Jiewen
2022-09-06  8:29 ` [PATCH v2 13/17] ShellPkg: " PierreGondois
2022-09-06  8:29 ` [PATCH v2 14/17] SourceLevelDebugPkg: " PierreGondois
2022-09-06  8:29 ` [PATCH v2 15/17] UefiCpuPkg: " PierreGondois
2022-09-06  8:29 ` [PATCH v2 16/17] UefiPayloadPkg: " PierreGondois
2022-09-12  4:26   ` [edk2-devel] " Guo, Gua
2022-09-06  8:29 ` [PATCH v2 17/17] UnitTestFrameworkPkg: " PierreGondois
2022-09-06 18:47   ` Michael D Kinney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220906082912.81795-11-Pierre.Gondois@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox