mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
dm: core: Add a comment about the device_remove() flags
We should explain which flags are used for this function. Update the comment to indicate this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Jaehoon Chung
parent
7074b2a364
commit
e88afccc44
@@ -98,7 +98,7 @@ int device_probe(struct udevice *dev);
|
|||||||
* children are deactivated first.
|
* children are deactivated first.
|
||||||
*
|
*
|
||||||
* @dev: Pointer to device to remove
|
* @dev: Pointer to device to remove
|
||||||
* @flags: Flags for selective device removal
|
* @flags: Flags for selective device removal (DM_REMOVE_...)
|
||||||
* @return 0 if OK, -ve on error (an error here is normally a very bad thing)
|
* @return 0 if OK, -ve on error (an error here is normally a very bad thing)
|
||||||
*/
|
*/
|
||||||
#if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE)
|
#if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE)
|
||||||
|
Reference in New Issue
Block a user