]> git.baikalelectronics.ru Git - uboot.git/commit
efi: Use device_get_uclass_id() where appropriate
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jan 2022 21:58:38 +0000 (14:58 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 19:20:01 +0000 (20:20 +0100)
commitbdb1889451bb74c58968c486a8ddc12abbd2814d
tree0516defb4a91656f1c7aab627a6810ae42ed5200
parent1c05781fd8328bc4ac4d204494222461275dfb82
efi: Use device_get_uclass_id() where appropriate

Use this function rather than following the pointers, since it is there
for this purpose.

Add the uclass name to the debug call at the end of dp_fill() since it is
quite useful.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_device_path.c