From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrice CHOTARD Date: Wed, 21 Oct 2020 12:26:32 +0000 Subject: [PATCH 11/33] hwspinlock: stm32: migrate trace to log macro In-Reply-To: <20201014091646.4233-12-patrick.delaunay@st.com> References: <20201014091646.4233-1-patrick.delaunay@st.com> <20201014091646.4233-12-patrick.delaunay@st.com> Message-ID: <3a01e473-7491-55f5-b1c5-9e410cdf6293@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Patrick On 10/14/20 11:16 AM, Patrick Delaunay wrote: > Define LOG_CATEGORY to allow filtering with log command. > > Signed-off-by: Patrick Delaunay > --- > > drivers/hwspinlock/stm32_hwspinlock.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/hwspinlock/stm32_hwspinlock.c b/drivers/hwspinlock/stm32_hwspinlock.c > index 8be585a0c8..c3edca72ef 100644 > --- a/drivers/hwspinlock/stm32_hwspinlock.c > +++ b/drivers/hwspinlock/stm32_hwspinlock.c > @@ -3,6 +3,8 @@ > * Copyright (C) 2018, STMicroelectronics - All Rights Reserved > */ > > +#define LOG_CATEGORY UCLASS_HWSPINLOCK > + > #include > #include > #include Reviewed-by: Patrice Chotard Thanks