[PATCH] efi_loader: fix sphinx conformance for efi_disk_remove()
Ilias Apalodimas
ilias.apalodimas at linaro.org
Mon Jun 12 20:17:58 CEST 2023
The function does not to conform to the Sphinx style documentation.
Add the missing bits
Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
---
Heinrich, this only applies on top of my rework for the function
lib/efi_loader/efi_disk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c
index 62ca8d7fa516..48440221f4f0 100644
--- a/lib/efi_loader/efi_disk.c
+++ b/lib/efi_loader/efi_disk.c
@@ -690,10 +690,10 @@ int efi_disk_probe(void *ctx, struct event *event)
return 0;
}
-/*
- * Delete an efi_disk object for a block device
+/**
+ * efi_disk_remove - Delete an efi_disk object for a block device or partition
*
- * @dev uclass device (UCLASS_BLK or UCLASS_PARTITION)
+ * @dev: uclass device (UCLASS_BLK or UCLASS_PARTITION)
*
* Delete an efi_disk object which is associated with @dev.
* The type of @dev must be either UCLASS_BLK or UCLASS_PARTITION.
--
2.39.2
More information about the U-Boot
mailing list