aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/pwr_regulator.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-11-06 19:01:29 +0100
committerPatrick Delaunay <patrick.delaunay@foss.st.com>2021-01-13 09:52:58 +0100
commiteb653acd63c5d9b584cf3c924193d5c43eac6847 (patch)
tree776cb907784ef5e66d5cec44c7f27b506a580aa4 /arch/arm/mach-stm32mp/pwr_regulator.c
parentee6726be4f0dccb612f0193c62ca149164c8a5af (diff)
downloadu-boot-eb653acd63c5d9b584cf3c924193d5c43eac6847.zip
u-boot-eb653acd63c5d9b584cf3c924193d5c43eac6847.tar.gz
u-boot-eb653acd63c5d9b584cf3c924193d5c43eac6847.tar.bz2
arm: stm32mp: migrate trace to log macro
Change debug and pr_ macro to log macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/pwr_regulator.c')
-rw-r--r--arch/arm/mach-stm32mp/pwr_regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/pwr_regulator.c b/arch/arm/mach-stm32mp/pwr_regulator.c
index 766ed95..846637a 100644
--- a/arch/arm/mach-stm32mp/pwr_regulator.c
+++ b/arch/arm/mach-stm32mp/pwr_regulator.c
@@ -3,6 +3,8 @@
* Copyright (C) 2018, STMicroelectronics - All Rights Reserved
*/
+#define LOG_CATEGORY UCLASS_REGULATOR
+
#include <common.h>
#include <dm.h>
#include <errno.h>