mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
6e0c4880c8
commit
a7b8250210
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue