提交 99b81a4d 编写于 作者: S Simon Glass

dm: core: Remove a comment about dropping per_child_auto_alloc_size

This has proven useful and we no-longer intend to remove it. Drop the
comment.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 93c7fe4a
......@@ -170,10 +170,6 @@ struct udevice_id {
* @per_child_auto_alloc_size: Each device can hold private data owned by
* its parent. If required this will be automatically allocated if this
* value is non-zero.
* TODO(sjg@chromium.org): I'm considering dropping this, and just having
* device_probe_child() pass it in. So far the use case for allocating it
* is SPI, but I found that unsatisfactory. Since it is here I will leave it
* until things are clearer.
* @per_child_platdata_auto_alloc_size: A bus likes to store information about
* its children. If non-zero this is the size of this data, to be allocated
* in the child's parent_platdata pointer.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册