]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/ResetNotification: Rename to UnregisterResetNotify
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 19 Jul 2017 09:14:28 +0000 (17:14 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 26 Jul 2017 07:45:19 +0000 (15:45 +0800)
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 <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Protocol/ResetNotification.h

index ade0eee34a621256989627be55445b1fc95129f3..f2834f9ee1307143d3b77f7915c3aa0d8d178444 100644 (file)
@@ -76,7 +76,7 @@ EFI_STATUS
 \r
 typedef struct _EFI_RESET_NOTIFICATION_PROTOCOL {\r
   EFI_REGISTER_RESET_NOTIFY   RegisterResetNotify;\r
-  EFI_UNREGISTER_RESET_NOTIFY UnRegisterResetNotify;\r
+  EFI_UNREGISTER_RESET_NOTIFY UnregisterResetNotify;\r
 } EFI_RESET_NOTIFICATION_PROTOCOL;\r
 \r
 \r