dm: core: Add function to access uclass priv
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 02:30:26 +0000 (19:30 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:40 +0000 (12:24 -0700)
commit806473933adf52740864ab6cdab8c90a84c0b1f3
tree8a4207534e0155a21c06de4ea5bc04fbcd8b0c9a
parentc238eeebc91f60e0240f9ab7dff245a4621c5d7a
dm: core: Add function to access uclass priv

Add functions so this information is not accessed directly. This will be
needed for of-platdata which stores it in a different place.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/uclass.c
include/dm/uclass-internal.h
include/dm/uclass.h