]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: avoid #ifdef in efi_dp_from_name()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 May 2023 07:55:26 +0000 (09:55 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 May 2023 09:09:51 +0000 (11:09 +0200)
commitd76184edc31292bd68ef1b63e7dfc3f11cd8bada
tree50f4a94184261f70fc5dbb5a1bec57fbfb8e0e40
parent01c528118d1fd9bdfaad57ca803094d1b697401d
efi_loader: avoid #ifdef in efi_dp_from_name()

According to our coding style guide #ifdef should be avoided.
Use IS_ENABLED() instead.

Sort string comparisons alphabetically.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_device_path.c