summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPatrick Delaunay <[email protected]>2021-10-28 19:13:14 +0200
committerTom Rini <[email protected]>2021-11-23 13:53:03 -0500
commitd47c4fea8c22d8b5dc16ad3def2877ea15ae4289 (patch)
treeee85bbcef589d8e690833590b8f0e26c538e865e /drivers
parent31dc56fca55dc364d6c91f67f25eafb8d158c6e7 (diff)
power: regulator: scmi: define LOG_CATEGORY
Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay <[email protected]> Acked-by: Etienne Carriere <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/power/regulator/scmi_regulator.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/power/regulator/scmi_regulator.c b/drivers/power/regulator/scmi_regulator.c
index b3142bf4e1f..3ddeaf4adcb 100644
--- a/drivers/power/regulator/scmi_regulator.c
+++ b/drivers/power/regulator/scmi_regulator.c
@@ -2,6 +2,9 @@
/*
* Copyright (C) 2020-2021 Linaro Limited
*/
+
+#define LOG_CATEGORY UCLASS_REGULATOR
+
#include <common.h>
#include <dm.h>
#include <errno.h>