mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
dm: core: Add note about device_probe idempotence
device_probe returns early when the device is already activated. Add a note to the documentation that it can be used on already activated devices. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
This commit is contained in:
parent
73f8fbc532
commit
aa5511e77b
1 changed files with 2 additions and 2 deletions
|
@ -184,8 +184,8 @@ int device_of_to_plat(struct udevice *dev);
|
|||
/**
|
||||
* device_probe() - Probe a device, activating it
|
||||
*
|
||||
* Activate a device so that it is ready for use. All its parents are probed
|
||||
* first.
|
||||
* Activate a device (if not yet activated) so that it is ready for use.
|
||||
* All its parents are probed first.
|
||||
*
|
||||
* @dev: Pointer to device to probe
|
||||
* Return: 0 if OK, -ve on error
|
||||
|
|
Loading…
Reference in a new issue