[PATCH] dm: migrate the dm_warn to use the log macro

Simon Glass sjg at chromium.org
Mon Aug 9 04:31:31 CEST 2021


On Fri, 30 Jul 2021 at 04:13, Patrick Delaunay
<patrick.delaunay at foss.st.com> wrote:
>
> 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 at foss.st.com>
> ---
>
>  drivers/core/util.c | 11 -----------
>  include/dm/util.h   |  2 +-
>  2 files changed, 1 insertion(+), 12 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list