summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-04-20 11:32:34 (GMT)
committerSimon Glass <sjg@chromium.org>2015-04-22 17:03:16 (GMT)
commita7b8250210cd1b449a06f7d20769944ebeca1a41 (patch)
tree1a837ca2acaf8dd93bd4ec0a04c1badb86e7af00
parent6e0c4880c877fae9ecfc4135b923e167d981e5e3 (diff)
downloadu-boot-a7b8250210cd1b449a06f7d20769944ebeca1a41.tar.xz
dm: core: precise comments for get/find device by name
The functions: - uclass_find_device_by_name() - uclass_get_device_by_name() searches the required device for the exactly given name. This patch, presice this fact for both function's comments. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/dm/uclass-internal.h2
-rw-r--r--include/dm/uclass.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/uclass-internal.h b/include/dm/uclass-internal.h
index 153f2a7..a9b2fbe 100644
--- a/include/dm/uclass-internal.h
+++ b/include/dm/uclass-internal.h
@@ -63,7 +63,7 @@ int uclass_find_next_device(struct udevice **devp);
/**
* uclass_find_device_by_name() - Find uclass device based on ID and name
*
- * This searches for a device with the given name.
+ * This searches for a device with the exactly given name.
*
* The device is NOT probed, it is merely returned.
*
diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 66e0ea5..4cfc0df 100644
--- a/include/dm/uclass.h
+++ b/include/dm/uclass.h
@@ -132,7 +132,7 @@ int uclass_get_device(enum uclass_id id, int index, struct udevice **devp);
/**
* uclass_get_device_by_name() - Get a uclass device by it's name
*
- * This searches the devices in the uclass for one with the given name.
+ * This searches the devices in the uclass for one with the exactly given name.
*
* The device is probed to activate it ready for use.
*