dm: migrate the dm_warn to use the log macro
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 30 Jul 2021 10:13:11 +0000 (12:13 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 17:27:27 +0000 (11:27 -0600)
commitb18b38f2ae3f54b906e0f2ab86789d9dd0110ed2
tree8bb69dfc8bc7bbfbd047cb8cb5edb79ecace6a46
parent8f07f5376a21a57ce191e5548b1a30c9709994d3
dm: migrate the dm_warn to use the log macro

Migrate the dm_warn function to log macro with
LOGC_DM category and LOGL_WARNING level.

This macro allows filtering with log command and allows
output on all log backend.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/util.c
include/dm/util.h