efi_loader: reformat efi_disk_add_dev()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 7 Oct 2022 09:03:01 +0000 (11:03 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 10 Oct 2022 14:34:26 +0000 (16:34 +0200)
commit21c4d7c5dddf7f51a4b8c11f94b8126278ff662e
treedef195bf5f248d3950a9e6154567b4bf4c131e29
parent731ab362d5b1d95e4716a4cde53e0434922f483f
efi_loader: reformat efi_disk_add_dev()

Make it clearer why InstallMultipleProtocolInterfaces is invoked with two
NULLs:

* rename guid to esp_guid
* put protocol GUIDs and the related interfaces on same lines
* add comment

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_disk.c