demo: migrate uclass to livetree
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 20 Sep 2021 15:58:33 +0000 (17:58 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 5 Oct 2021 12:50:15 +0000 (08:50 -0400)
commit455f2d15bfcf42a002d7d3a38c9c6b2dfe9f518c
tree790f07eaa0145ff99175c108154600cbef3c23e5
parente2170c29eed7dc542836c7e770037d3d2fe545a0
demo: migrate uclass to livetree

Use dev_ function to read the sides and colour to support a live tree.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/demo/demo-uclass.c