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 <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Ruiyu Ni 2017-07-19 17:14:28 +08:00
parent 00beb2abe7
commit fcccba378b
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ EFI_STATUS
typedef struct _EFI_RESET_NOTIFICATION_PROTOCOL { typedef struct _EFI_RESET_NOTIFICATION_PROTOCOL {
EFI_REGISTER_RESET_NOTIFY RegisterResetNotify; EFI_REGISTER_RESET_NOTIFY RegisterResetNotify;
EFI_UNREGISTER_RESET_NOTIFY UnRegisterResetNotify; EFI_UNREGISTER_RESET_NOTIFY UnregisterResetNotify;
} EFI_RESET_NOTIFICATION_PROTOCOL; } EFI_RESET_NOTIFICATION_PROTOCOL;