aboutsummaryrefslogtreecommitdiff
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorPatrick Delaunay2020-11-06 19:01:34 +0100
committerPatrick Delaunay2021-01-13 09:52:58 +0100
commitc886cd6eea1e7671118ff59c3b5a3c7776d4c121 (patch)
tree17bcd6abc89c7b41eb7d94427a50deaaf211373f /drivers/remoteproc
parent6dd89d9d5aa347b314c168310c3efb5d1b323749 (diff)
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 <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/stm32_copro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/remoteproc/stm32_copro.c b/drivers/remoteproc/stm32_copro.c
index ec7694dda9e..4c5f24857e8 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 <common.h>
#include <dm.h>
#include <errno.h>