summaryrefslogtreecommitdiff
path: root/include/dm/device.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-09-28 23:32:05 -0600
committerSimon Glass <sjg@chromium.org>2015-10-23 09:42:28 -0600
commit99b81a4d862cdf6bb5aea283886f17c12bac8019 (patch)
tree38781c892ab145d5150b441dd3e42e9d1964ee13 /include/dm/device.h
parent93c7fe4a0c2d16ebd44f9740f770a776f63fbaa9 (diff)
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/device.h')
-rw-r--r--include/dm/device.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index f60d153295..0e40aaf80b 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.