]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: syscon: Fix calling dev_dbg with an uninitialized device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:44:37 +0000 (10:44 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:52:14 +0000 (08:52 -0400)
commit46df2f87bd9697a49b49f53d54a9e39da0684a7d
tree726ff710c856ce92b2f2bc41ba0d13dd1b5588d2
parent0ac83d080a0044cd0d8f782ba12f02cf969d3004
dm: syscon: Fix calling dev_dbg with an uninitialized device

We can't use dev_dbg here because we haven't bound to the device yet. Use
log_debug instead.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/core/syscon-uclass.c