From: Patrick Delaunay Date: Fri, 6 Nov 2020 18:01:34 +0000 (+0100) Subject: remoproc: stm32: migrate trace to log macro X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c886cd6eea1e7671118ff59c3b5a3c7776d4c121;p=u-boot.git remoproc: stm32: migrate trace to log macro Define LOG_CATEGORY and remove unneeded pr_fmt macro with the dev macro as dev->name is displayed and CONFIG_LOGF_FUNC can be activated for log macro. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- diff --git a/drivers/remoteproc/stm32_copro.c b/drivers/remoteproc/stm32_copro.c index ec7694dda9..4c5f24857e 100644 --- a/drivers/remoteproc/stm32_copro.c +++ b/drivers/remoteproc/stm32_copro.c @@ -2,7 +2,8 @@ /* * Copyright (C) 2019, STMicroelectronics - All Rights Reserved */ -#define pr_fmt(fmt) "%s: " fmt, __func__ +#define LOG_CATEGORY UCLASS_REMOTEPROC + #include #include #include