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)
commit377d39d178570a3510a34aac61f008b43cca783f
tree0516defb4a91656f1c7aab627a6810ae42ed5200
parentd837cb1e3b6bf6a3d77f058b90ea937935fc2c8f
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