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 <s...@chromium.org> --- Changes in v2: - Add a warning for clk_reqister() drivers/core/device-remove.c | 8 ++--- drivers/core/device.c | 61 +++++++++++++++++++----------------- drivers/core/uclass.c | 13 +++++--- 3 files changed, 45 insertions(+), 37 deletions(-) Applied to u-boot-dm/next, thanks!