]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Use access methods for dev/uclass private data
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 02:30:29 +0000 (19:30 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:40 +0000 (12:24 -0700)
commit89ba6d553572fe9177ae472170b8373e49f97953
treee71f9263d0c27163d49e78157963de130393e148
parent0fd3d91152df5bb6c5f7b9ee68f01a9a1c9a875d
dm: core: Use access methods for dev/uclass private data

Use these functions in the core code as much as possible. With this, there
are only two places where each priv/plat pointer is accessed, one for read
and one for write.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device-remove.c
drivers/core/device.c
drivers/core/uclass.c