dm: uclass: Adding missing child_pre_probe description
PATCH 1/1 dm: uclass: Adding missing child_pre_probe description
The comment of child_pre_probe, one of the 'struct uclass_driver' members, is currently missing.
---
include/dm/uclass.h | 1 + 1 file changed, 1 insertion(+)
include/dm/uclass.h +1 -0
@@ -58,6 +58,7 @@ struct udevice;* @post_probe: Called after a new device is probed * @pre_remove: Called before a device is removed * @child_post_bind: Called after a child is bound to a device in this uclass +* @child_pre_probe: Called before a child is probed in this uclass * @init: Called to set up the uclass * @destroy: Called to destroy the uclass * @priv_auto_alloc_size: If non-zero this is the size of the private data
Signature · 1 line
2.7.4
PATCH 1/1 dm: uclass: Adding missing child_pre_probe description
Quoted 9 lines · Bin Meng
The comment of
child_pre_probe, one of the 'structuclass_driver' members, is currently missing.Signed-off-by Bin Meng <[email protected]>---
include/dm/uclass.h | 1 + 1 file changed, 1 insertion(+)
include/dm/uclass.h struct udevice; · line 61
Quoted 9 lines
include/dm/uclass.h +1
-0@@ -58,6 +58,7 @@ struct udevice;* @post_probe: Called after a new device is probed * @pre_remove: Called before a device is removed * @child_post_bind: Called after a child is bound to a device in this uclass +* @child_pre_probe: Called before a child is probed in this uclass
I prefer 'a child in this uclass is probed'
Quoted 6 lines
include/dm/uclass.h +0
-1* @init: Called to set up the uclass * @destroy: Called to destroy the uclass * @priv_auto_alloc_size: If non-zero this is the size of the private data -- 2.7.4
PATCH 1/1 dm: uclass: Adding missing child_pre_probe description
Hi Simon,
Quoted 14 lines · Simon Glass
Quoted 9 lines · Bin Meng
The comment of
child_pre_probe, one of the 'structuclass_driver' members, is currently missing.Signed-off-by Bin Meng <[email protected]>---
include/dm/uclass.h | 1 + 1 file changed, 1 insertion(+)Reviewed-by Simon Glass <[email protected]>
Quoted 11 lines
include/dm/uclass.h struct udevice; · line 61
Quoted 9 lines
include/dm/uclass.h +1
-0@@ -58,6 +58,7 @@ struct udevice;* @post_probe: Called after a new device is probed * @pre_remove: Called before a device is removed * @child_post_bind: Called after a child is bound to a device in this uclass +* @child_pre_probe: Called before a child is probed in this uclass I prefer 'a child in this uclass is probed'
OK, I will make this change and will include the v2 patch in another related patch series.
Regards,
Bin
PATCH 1/1 dm: uclass: Adding missing child_pre_probe description
Hi Bin,
Quoted 29 lines · Bin Meng
Hi Simon,
Quoted 14 lines · Simon Glass
Quoted 9 lines · Bin Meng
The comment of
child_pre_probe, one of the 'structuclass_driver' members, is currently missing.Signed-off-by Bin Meng <[email protected]>---
include/dm/uclass.h | 1 + 1 file changed, 1 insertion(+)Reviewed-by Simon Glass <[email protected]>Quoted 11 lines
include/dm/uclass.h struct udevice; · line 61
Quoted 9 lines
include/dm/uclass.h +1
-0@@ -58,6 +58,7 @@ struct udevice;* @post_probe: Called after a new device is probed * @pre_remove: Called before a device is removed * @child_post_bind: Called after a child is bound to a device in this uclass +* @child_pre_probe: Called before a child is probed in this uclass I prefer 'a child in this uclass is probed'
Quoted 2 lines
OK, I will make this change and will include the v2 patch in another related patch series.
Actually I picked this up in the end. I think it is a minor thing.
Applied to u-boot-dm, and now in mainline, thanks!
Regards,
Simon