Skip to contentSkip to conversation

dm: uclass: Adding missing child_pre_probe description

PATCH New Bin Meng 2 participants 4 messages Sep 7, 2018 – Sep 28, 2018

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

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
index 0e882ce..6e7c1cd 100644
@@ -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
#1 lore raw

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 'struct uclass_driver' members, is currently missing.

---

 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
index 0e882ce..6e7c1cd 100644
@@ -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

author
#2 lore raw

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 'struct uclass_driver' members, is currently missing.

---

 include/dm/uclass.h | 1 +
 1 file changed, 1 insertion(+)
Quoted 11 lines

include/dm/uclass.h struct udevice; · line 61

Quoted 9 lines
include/dm/uclass.h +1 -0
index 0e882ce..6e7c1cd 100644
@@ -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

#3 lore raw

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 'struct uclass_driver' members, is currently missing.

---

 include/dm/uclass.h | 1 +
 1 file changed, 1 insertion(+)
Quoted 11 lines

include/dm/uclass.h struct udevice; · line 61

Quoted 9 lines
include/dm/uclass.h +1 -0
index 0e882ce..6e7c1cd 100644
@@ -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