efi_loader: simplify efi_install_protocol_interface
authorHeinrich Schuchardt <[email protected]>
Thu, 26 Oct 2017 17:25:54 +0000 (19:25 +0200)
committerAlexander Graf <[email protected]>
Fri, 1 Dec 2017 12:22:56 +0000 (13:22 +0100)
commit1202530d221936604e847fd7ce4bf8d8039d589b
tree346626eecbf05a0db04503a4f6f4cfedbebdc227
parent3f79a2b532d8deafd5293f9f7e492d30fc6e339d
efi_loader: simplify efi_install_protocol_interface

Use helper functio efi_add_protocol.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_boottime.c