diff mbox

[U-Boot,5/6] dm: core: Remove a comment about dropping per_child_auto_alloc_size

Message ID 1443504726-17773-5-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Sept. 29, 2015, 5:32 a.m. UTC
This has proven useful and we no-longer intend to remove it. Drop the
comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/dm/device.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

Simon Glass Oct. 18, 2015, 11:16 p.m. UTC | #1
On 28 September 2015 at 23:32, Simon Glass <sjg@chromium.org> wrote:
> This has proven useful and we no-longer intend to remove it. Drop the
> comment.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  include/dm/device.h | 4 ----
>  1 file changed, 4 deletions(-)
>
Applied to u-boot-dm.
diff mbox

Patch

diff --git a/include/dm/device.h b/include/dm/device.h
index f60d153..0e40aaf 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -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.