]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Split out alloc code into a new function
authorSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 17:40:08 +0000 (10:40 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:41 +0000 (12:24 -0700)
commit82021e31a71ae51bea1226e58727dd3163a26895
treecc061e3e361eb03a5e782117c5b5dce894440b5a
parente7144b07e46af8e7c10841aaeb4d517ad33f4242
dm: core: Split out alloc code into a new function

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 <sjg@chromium.org>
drivers/core/device.c