Reviewed-by: Liming Gao <[email protected]>

>-----Original Message-----
>From: Ni, Ruiyu
>Sent: Wednesday, July 19, 2017 5:15 PM
>To: [email protected]
>Cc: Gao, Liming <[email protected]>
>Subject: [PATCH] MdePkg/ResetNotification: Rename to
>UnregisterResetNotify
>
>UEFI Spec uses UnRegisterResetNotify in protocol structure
>definition but uses UnregisterResetNotify in the function
>prototype definition.
>
>By searching the entire spec, Unregister* is used for
>SIMPLE_TEXT_INPUT_EX_PROTOCOL.UnregisterKeyNotify(). So choose
>to use UnregisterResetNotify for consistency.
>
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Ruiyu Ni <[email protected]>
>Cc: Liming Gao <[email protected]>
>---
> MdePkg/Include/Protocol/ResetNotification.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/MdePkg/Include/Protocol/ResetNotification.h
>b/MdePkg/Include/Protocol/ResetNotification.h
>index ade0eee34a..f2834f9ee1 100644
>--- a/MdePkg/Include/Protocol/ResetNotification.h
>+++ b/MdePkg/Include/Protocol/ResetNotification.h
>@@ -76,7 +76,7 @@ EFI_STATUS
>
> typedef struct _EFI_RESET_NOTIFICATION_PROTOCOL {
>   EFI_REGISTER_RESET_NOTIFY   RegisterResetNotify;
>-  EFI_UNREGISTER_RESET_NOTIFY UnRegisterResetNotify;
>+  EFI_UNREGISTER_RESET_NOTIFY UnregisterResetNotify;
> } EFI_RESET_NOTIFICATION_PROTOCOL;
>
>
>--
>2.12.2.windows.2

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to