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 16/24] PcAtChipsetPkg: Remove duplicated words
Date: Tue, 23 Aug 2022 18:00:23 +0200	[thread overview]
Message-ID: <20220823160031.991072-17-Pierre.Gondois@arm.com> (raw)
In-Reply-To: <20220823160031.991072-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-08-23 16:00 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-23 16:00 [PATCH 00/24] Remove duplicated words PierreGondois
2022-08-23 16:00 ` [PATCH 01/24] .pytool: " PierreGondois
2022-08-23 16:00 ` [PATCH 02/24] ArmPkg: " PierreGondois
2022-08-23 17:13   ` [edk2-devel] " Sami Mujawar
2022-08-24 13:28   ` Leif Lindholm
2022-09-05 13:54     ` Ard Biesheuvel
2022-08-23 16:00 ` [PATCH 03/24] ArmPlatformPkg: " PierreGondois
2022-08-23 17:12   ` [edk2-devel] " Sami Mujawar
2022-08-24 13:26   ` Leif Lindholm
2022-09-05 13:54     ` Ard Biesheuvel
2022-08-23 16:00 ` [PATCH 04/24] ArmVirtPkg: " PierreGondois
2022-08-23 17:12   ` [edk2-devel] " Sami Mujawar
2022-09-05 13:55     ` Ard Biesheuvel
2022-08-23 16:00 ` [PATCH 05/24] BaseTools: " PierreGondois
2022-08-23 16:00 ` [PATCH 06/24] CryptoPkg: " PierreGondois
2022-08-23 16:00 ` [PATCH 07/24] DynamicTablesPkg: " PierreGondois
2022-08-23 17:09   ` Sami Mujawar
2022-08-23 16:00 ` [PATCH 08/24] EmbeddedPkg: " PierreGondois
2022-08-24 13:29   ` Leif Lindholm
2022-08-24 13:31   ` Chang, Abner
2022-09-05 13:54     ` Ard Biesheuvel
2022-08-23 16:00 ` [PATCH 09/24] EmulatorPkg: " PierreGondois
2022-08-23 16:00 ` [PATCH 10/24] FatPkg: " PierreGondois
2022-08-23 16:00 ` [PATCH 11/24] IntelFsp2WrapperPkg: " PierreGondois
2022-08-23 16:55   ` Chiu, Chasel
2022-09-01 23:18   ` [edk2-devel] " Nate DeSimone
2022-09-01 23:24   ` Nate DeSimone
2022-08-23 16:00 ` [PATCH 12/24] MdeModulePkg: " PierreGondois
2022-08-23 16:00 ` [PATCH 13/24] MdePkg: " PierreGondois
2022-08-23 16:00 ` [PATCH 14/24] NetworkPkg: " PierreGondois
2022-09-02 14:31   ` [edk2-devel] " Maciej Rabeda
2022-08-23 16:00 ` [PATCH 15/24] OvmfPkg: " PierreGondois
2022-08-23 23:00   ` Yao, Jiewen
2022-09-05 13:55     ` Ard Biesheuvel
2022-08-23 16:00 ` PierreGondois [this message]
2022-08-23 16:00 ` [PATCH 17/24] RedfishPkg: " PierreGondois
2022-08-24 13:32   ` Chang, Abner
2022-08-23 16:00 ` [PATCH 18/24] SecurityPkg: " PierreGondois
2022-08-23 16:00 ` [PATCH 19/24] ShellPkg: " PierreGondois
2022-08-24  5:34   ` Gao, Zhichao
2022-08-23 16:00 ` [PATCH 20/24] SourceLevelDebugPkg: " PierreGondois
2022-08-24  0:50   ` Wu, Hao A
2022-08-24  1:06     ` [edk2-devel] " Ni, Ray
2022-08-23 16:00 ` [PATCH 21/24] StandaloneMmPkg: " PierreGondois
2022-08-23 17:11   ` Sami Mujawar
2022-08-23 23:00   ` Yao, Jiewen
2022-09-05 13:55     ` Ard Biesheuvel
2022-08-23 16:00 ` [PATCH 22/24] UefiCpuPkg: " PierreGondois
2022-08-23 16:00 ` [PATCH 23/24] UefiPayloadPkg: " PierreGondois
2022-08-23 16:00 ` [PATCH 24/24] UnitTestFrameworkPkg: " PierreGondois
2022-08-25  3:12   ` Michael Kubacki

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=20220823160031.991072-17-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