]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
power: regulator: scmi: define LOG_CATEGORY
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 28 Oct 2021 17:13:14 +0000 (19:13 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 23 Nov 2021 18:53:03 +0000 (13:53 -0500)
Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/regulator/scmi_regulator.c

index b3142bf4e1fd7c1822e35e026e14d6f573f2fadb..3ddeaf4adcb1a65c8a4c62aa86b0b902a9389201 100644 (file)
@@ -2,6 +2,9 @@
 /*
  * Copyright (C) 2020-2021 Linaro Limited
  */
+
+#define LOG_CATEGORY UCLASS_REGULATOR
+
 #include <common.h>
 #include <dm.h>
 #include <errno.h>