part: rename disk_partition_type_uuid()

Rename disk_partition_type_uuid to disk_partition_type_guid.

Provide function descriptions for the getter and setter.

Fixes: bcd645428c ("part: Add accessors for struct disk_partition type_uuid")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Heinrich Schuchardt 2023-09-02 09:35:21 +02:00 committed by Tom Rini
parent 7cc1d87d7e
commit 782c7f1bdb
2 changed files with 24 additions and 4 deletions

View file

@ -299,7 +299,7 @@ int part_get_info_efi(struct blk_desc *desc, int part,
}
if (IS_ENABLED(CONFIG_PARTITION_TYPE_GUID)) {
uuid_bin_to_str(gpt_pte[part - 1].partition_type_guid.b,
(char *)disk_partition_type_uuid(info),
(char *)disk_partition_type_guid(info),
UUID_STR_FORMAT_GUID);
}