Re: [PATCH 16/26] dm: core: Split out alloc code into a new function

2020-12-28 Thread Simon Glass
Add a new function to handle the allocation of private/platform data for a device. This will make it easier to skip this feature when using the new of-platdata. Signed-off-by: Simon Glass --- drivers/core/device.c | 89 +-- 1 file changed, 52 insertions(+

[PATCH 16/26] dm: core: Split out alloc code into a new function

2020-12-19 Thread Simon Glass
Add a new function to handle the allocation of private/platform data for a device. This will make it easier to skip this feature when using the new of-platdata. Signed-off-by: Simon Glass --- drivers/core/device.c | 89 +-- 1 file changed, 52 insertions(+