diff mbox series

[1/2] libpdbg: Update documentation for pdbg_targets_init()

Message ID 20200422021731.112666-1-amitay@ozlabs.org
State Accepted
Headers show
Series [1/2] libpdbg: Update documentation for pdbg_targets_init() | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (6ae2ba655ca5e24b403a33bf15dff7261d3e7052)
snowpatch_ozlabs/build-multiarch success Test build-multiarch on branch master

Commit Message

Amitay Isaacs April 22, 2020, 2:17 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 libpdbg/libpdbg.h | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/libpdbg/libpdbg.h b/libpdbg/libpdbg.h
index 1c974f5..3078bc5 100644
--- a/libpdbg/libpdbg.h
+++ b/libpdbg/libpdbg.h
@@ -490,11 +490,9 @@  bool pdbg_set_backend(enum pdbg_backend backend, const char *backend_option);
  * Must be called prior to using any other libpdbg functions.
  *
  * Device tree can also be specified using PDBG_DTB environment variable
- * pointing to system device tree.
- *
- * If the argument is NULL, then PDBG_DTB will override the default device
- * tree.  If the argument is not NULL, then that will override the default
- * device tree and device tree pointed by PDBG_DTB.
+ * pointing to system device tree.  If system device tree is specified using
+ * PDBG_DTB, then it will override the default device tree or the specified
+ * device tree.
  *
  * @note This function can only be called once.
  */